public interface ServerConnection
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServerConnection.SecureChannelListener |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionListener(IConnectionListener listener)
Add response listener
|
void |
addSecureChannelListener(ServerConnection.SecureChannelListener l)
addSecureChannelListener.
|
SocketAddress |
getLocalAddress()
Get local socket address
|
SocketAddress |
getRemoteAddress()
Get remote socket address
|
void |
getSecureChannels(Collection<ServerSecureChannel> list)
Get all open and opening secure channels of this connection.
|
void |
removeConnectionListener(IConnectionListener listener)
Add response listener
|
void |
removeSecureChannelListener(ServerConnection.SecureChannelListener l)
removeSecureChannelListener.
|
void addConnectionListener(IConnectionListener listener)
listener - a IConnectionListener object.void removeConnectionListener(IConnectionListener listener)
listener - a IConnectionListener object.void addSecureChannelListener(ServerConnection.SecureChannelListener l)
addSecureChannelListener.
l - a ServerConnection.SecureChannelListener
object.SocketAddress getLocalAddress()
SocketAddress getRemoteAddress()
void getSecureChannels(Collection<ServerSecureChannel> list)
list - list to be filledvoid removeSecureChannelListener(ServerConnection.SecureChannelListener l)
removeSecureChannelListener.
l - a ServerConnection.SecureChannelListener
object.Copyright © 2026. All rights reserved.