|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Connection
SocketChannel connection.
| Method Summary | |
|---|---|
InputBufferStream |
getInputBufferStream()
Obtains the InputBufferStream to obtain data from the client. |
InetSocketAddress |
getLocalAddress()
Obtains the local address for the Connection. |
Object |
getLock()
Obtains the lock to synchronize for using this
Connection. |
OutputBufferStream |
getOutputBufferStream()
Obtains the OutputBufferStream to write data to the client. |
InetSocketAddress |
getRemoteAddress()
Obtains the remote address for the Connection. |
boolean |
isSecure()
Indicates if the connection is over a secure channel (e.g. |
| Method Detail |
|---|
Object getLock()
synchronize for using this
Connection.
Connection.boolean isSecure()
true if connection is over a secure channel.InetSocketAddress getLocalAddress()
Connection.
InetSocketAddress describing the local Socket for
the Connection.InetSocketAddress getRemoteAddress()
Connection.
InetSocketAddress describing the remote Socket
for the Connection.InputBufferStream getInputBufferStream()
InputBufferStream to obtain data from the client.
InputBufferStream.OutputBufferStream getOutputBufferStream()
OutputBufferStream to write data to the client.
OutputBufferStream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||