public interface Connection extends WriteBufferReceiver
SocketChannel
connection.Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getLocalAddress()
Obtains the local address for the
Connection . |
InetSocketAddress |
getRemoteAddress()
Obtains the remote address for the
Connection . |
boolean |
isSecure()
Indicates if the connection is over a secure channel (e.g.
|
close, createWriteBuffer, createWriteBuffer, getLock, isClosed, writeData
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
.Copyright © 2005–2016. All rights reserved.