public final class NioUdtProvider<T extends UdtChannel> extends Object implements io.netty.bootstrap.ChannelFactory<T>
Provides ChannelFactory for UDT channels.
Provides SelectorProvider for UDT channels.
| Modifier and Type | Field and Description |
|---|---|
static io.netty.bootstrap.ChannelFactory<UdtServerChannel> |
BYTE_ACCEPTOR
ChannelFactory for UDT Byte Acceptor. |
static io.netty.bootstrap.ChannelFactory<UdtChannel> |
BYTE_CONNECTOR
ChannelFactory for UDT Byte Connector. |
static SelectorProvider |
BYTE_PROVIDER
SelectorProvider for UDT Byte channels. |
static io.netty.bootstrap.ChannelFactory<UdtChannel> |
BYTE_RENDEZVOUS
ChannelFactory for UDT Byte Rendezvous. |
static io.netty.bootstrap.ChannelFactory<UdtServerChannel> |
MESSAGE_ACCEPTOR
ChannelFactory for UDT Message Acceptor. |
static io.netty.bootstrap.ChannelFactory<UdtChannel> |
MESSAGE_CONNECTOR
ChannelFactory for UDT Message Connector. |
static SelectorProvider |
MESSAGE_PROVIDER
SelectorProvider for UDT Message channels. |
static io.netty.bootstrap.ChannelFactory<UdtChannel> |
MESSAGE_RENDEZVOUS
ChannelFactory for UDT Message Rendezvous. |
| Modifier and Type | Method and Description |
|---|---|
static com.barchart.udt.nio.ChannelUDT |
channelUDT(io.netty.channel.Channel channel)
Expose underlying
ChannelUDT for debugging and monitoring. |
com.barchart.udt.nio.KindUDT |
kind()
UDT Channel Kind.
|
protected static com.barchart.udt.nio.ServerSocketChannelUDT |
newAcceptorChannelUDT(com.barchart.udt.TypeUDT type)
Convenience factory for
KindUDT.ACCEPTOR channels. |
T |
newChannel()
|
protected static com.barchart.udt.nio.SocketChannelUDT |
newConnectorChannelUDT(com.barchart.udt.TypeUDT type)
Convenience factory for
KindUDT.CONNECTOR channels. |
protected static com.barchart.udt.nio.RendezvousChannelUDT |
newRendezvousChannelUDT(com.barchart.udt.TypeUDT type)
Convenience factory for
KindUDT.RENDEZVOUS channels. |
static com.barchart.udt.SocketUDT |
socketUDT(io.netty.channel.Channel channel)
Expose underlying
SocketUDT for debugging and monitoring. |
com.barchart.udt.TypeUDT |
type()
UDT Socket Type.
|
public static final io.netty.bootstrap.ChannelFactory<UdtServerChannel> BYTE_ACCEPTOR
ChannelFactory for UDT Byte Acceptor. See TypeUDT.STREAM
and KindUDT.ACCEPTOR.public static final io.netty.bootstrap.ChannelFactory<UdtChannel> BYTE_CONNECTOR
ChannelFactory for UDT Byte Connector. See TypeUDT.STREAM
and KindUDT.CONNECTOR.public static final SelectorProvider BYTE_PROVIDER
SelectorProvider for UDT Byte channels. See
TypeUDT.STREAM.public static final io.netty.bootstrap.ChannelFactory<UdtChannel> BYTE_RENDEZVOUS
ChannelFactory for UDT Byte Rendezvous. See
TypeUDT.STREAM and KindUDT.RENDEZVOUS.public static final io.netty.bootstrap.ChannelFactory<UdtServerChannel> MESSAGE_ACCEPTOR
ChannelFactory for UDT Message Acceptor. See
TypeUDT.DATAGRAM and KindUDT.ACCEPTOR.public static final io.netty.bootstrap.ChannelFactory<UdtChannel> MESSAGE_CONNECTOR
ChannelFactory for UDT Message Connector. See
TypeUDT.DATAGRAM and KindUDT.CONNECTOR.public static final SelectorProvider MESSAGE_PROVIDER
SelectorProvider for UDT Message channels. See
TypeUDT.DATAGRAM.public static final io.netty.bootstrap.ChannelFactory<UdtChannel> MESSAGE_RENDEZVOUS
ChannelFactory for UDT Message Rendezvous. See
TypeUDT.DATAGRAM and KindUDT.RENDEZVOUS.public static com.barchart.udt.nio.ChannelUDT channelUDT(io.netty.channel.Channel channel)
ChannelUDT for debugging and monitoring.
ChannelUDT or null, if parameter is not
UdtChannelprotected static com.barchart.udt.nio.ServerSocketChannelUDT newAcceptorChannelUDT(com.barchart.udt.TypeUDT type)
KindUDT.ACCEPTOR channels.protected static com.barchart.udt.nio.SocketChannelUDT newConnectorChannelUDT(com.barchart.udt.TypeUDT type)
KindUDT.CONNECTOR channels.protected static com.barchart.udt.nio.RendezvousChannelUDT newRendezvousChannelUDT(com.barchart.udt.TypeUDT type)
KindUDT.RENDEZVOUS channels.public static com.barchart.udt.SocketUDT socketUDT(io.netty.channel.Channel channel)
SocketUDT for debugging and monitoring.
SocketUDT or null, if parameter is not
UdtChannelpublic com.barchart.udt.nio.KindUDT kind()
KindUDTpublic T newChannel()
newChannel in interface io.netty.bootstrap.ChannelFactory<T extends UdtChannel>public com.barchart.udt.TypeUDT type()
TypeUDTCopyright © 2008–2013 The Netty Project. All rights reserved.