javax.microedition.io
Interface OutputConnection

All Superinterfaces:
Connection
All Known Subinterfaces:
StreamConnection
All Known Implementing Classes:
BTConnection, NXTConnection, RS485Connection, USBConnection

public interface OutputConnection
extends Connection


Method Summary
 DataOutputStream openDataOutputStream()
          Open and return a data output stream for a connection.
 OutputStream openOutputStream()
          Open and return an output stream for a connection.
 
Methods inherited from interface javax.microedition.io.Connection
close
 

Method Detail

openDataOutputStream

DataOutputStream openDataOutputStream()
Open and return a data output stream for a connection.

Returns:
the data output stream

openOutputStream

OutputStream openOutputStream()
Open and return an output stream for a connection.

Returns:
the output stream