public final class ChannelMetadata
extends java.lang.Object
Channel
implementation.Constructor and Description |
---|
ChannelMetadata(boolean hasDisconnect)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
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.Copyright © 2008–2018 The Netty Project. All rights reserved.