@Deprecated public final class NioUdtProvider<T extends UdtChannel> extends java.lang.Object implements ChannelFactory<T>
Provides ChannelFactory
for UDT channels.
Provides SelectorProvider
for UDT channels.
限定符和类型 | 字段和说明 |
---|---|
static ChannelFactory<UdtServerChannel> |
BYTE_ACCEPTOR
已过时。
ChannelFactory for UDT Byte Acceptor. |
static ChannelFactory<UdtChannel> |
BYTE_CONNECTOR
已过时。
ChannelFactory for UDT Byte Connector. |
static java.nio.channels.spi.SelectorProvider |
BYTE_PROVIDER
已过时。
SelectorProvider for UDT Byte channels. |
static ChannelFactory<UdtChannel> |
BYTE_RENDEZVOUS
已过时。
ChannelFactory for UDT Byte Rendezvous. |
static ChannelFactory<UdtServerChannel> |
MESSAGE_ACCEPTOR
已过时。
ChannelFactory for UDT Message Acceptor. |
static ChannelFactory<UdtChannel> |
MESSAGE_CONNECTOR
已过时。
ChannelFactory for UDT Message Connector. |
static java.nio.channels.spi.SelectorProvider |
MESSAGE_PROVIDER
已过时。
SelectorProvider for UDT Message channels. |
static ChannelFactory<UdtChannel> |
MESSAGE_RENDEZVOUS
已过时。
ChannelFactory for UDT Message Rendezvous. |
限定符和类型 | 方法和说明 |
---|---|
static ChannelUDT |
channelUDT(Channel channel)
已过时。
Expose underlying
ChannelUDT for debugging and monitoring. |
KindUDT |
kind()
已过时。
UDT Channel Kind.
|
T |
newChannel()
已过时。
|
static SocketUDT |
socketUDT(Channel channel)
已过时。
Expose underlying
SocketUDT for debugging and monitoring. |
TypeUDT |
type()
已过时。
UDT Socket Type.
|
public static final ChannelFactory<UdtServerChannel> BYTE_ACCEPTOR
public static final ChannelFactory<UdtChannel> BYTE_CONNECTOR
public static final java.nio.channels.spi.SelectorProvider BYTE_PROVIDER
SelectorProvider
for UDT Byte channels. See
TypeUDT#STREAM
.public static final ChannelFactory<UdtChannel> BYTE_RENDEZVOUS
public static final ChannelFactory<UdtServerChannel> MESSAGE_ACCEPTOR
public static final ChannelFactory<UdtChannel> MESSAGE_CONNECTOR
public static final java.nio.channels.spi.SelectorProvider MESSAGE_PROVIDER
SelectorProvider
for UDT Message channels. See
TypeUDT#DATAGRAM
.public static final ChannelFactory<UdtChannel> MESSAGE_RENDEZVOUS
public static ChannelUDT channelUDT(Channel channel)
ChannelUDT
for debugging and monitoring.
ChannelUDT
or null, if parameter is not
UdtChannel
public static SocketUDT socketUDT(Channel channel)
SocketUDT
for debugging and monitoring.
SocketUDT
or null, if parameter is not
UdtChannel
public KindUDT kind()
KindUDT
public T newChannel()
newChannel
在接口中 ChannelFactory<T extends UdtChannel>
public TypeUDT type()
TypeUDT