public final class ChannelMetadata
extends java.lang.Object
Channel
implementation.构造器和说明 |
---|
ChannelMetadata(boolean hasDisconnect)
Create a new instance
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
hasDisconnect()
Returns
true if and only if the channel has the disconnect() operation
that allows a user to disconnect and then call Channel.connect(SocketAddress) again,
such as UDP/IP. |
public ChannelMetadata(boolean hasDisconnect)
hasDisconnect
- true
if and only if the channel has the disconnect()
operation
that allows a user to disconnect and then call Channel.connect(SocketAddress)
again, such as UDP/IP.public boolean hasDisconnect()
true
if and only if the channel has the disconnect()
operation
that allows a user to disconnect and then call Channel.connect(SocketAddress)
again,
such as UDP/IP.