public interface Channel
Modifier and Type | Method and Description |
---|---|
InetAddress |
getInetAddress()
Returns the InetAddress of the host.
|
String |
getProtocolPrefix()
Returns the protocol as a string that corresponds to this
Channel.
|
String |
getPublicAddress()
Returns the public address or the DNS name of this Channel.
|
InetSocketAddress |
getPublicInetAddress()
Returns the InetSocketAddress of the remote host.
|
int |
getPublicPort()
Get the public port for this Channel.
|
boolean |
supportsTLS()
Returns whether this channel supports Transport Layer Security.
|
InetAddress getInetAddress()
InetSocketAddress getPublicInetAddress()
Channel.getPublicInetAddress()
String getProtocolPrefix()
boolean supportsTLS()
String getPublicAddress()
ServerChannel.getPublicAddress()
int getPublicPort()
ServerChannel.getPublicPort()