| Package | Description |
|---|---|
| tachyon.network | |
| tachyon.util.network |
| Modifier and Type | Method and Description |
|---|---|
static ChannelType |
ChannelType.defaultType()
Determines the default type to use based off the system.
|
static ChannelType |
ChannelType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
ChannelType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static io.netty.channel.EventLoopGroup |
NettyUtils.createEventLoop(ChannelType type,
int numThreads,
String threadPrefix,
boolean isDaemon)
Creates a Netty EventLoopGroup based on ChannelType.
|
static Class<? extends io.netty.channel.socket.SocketChannel> |
NettyUtils.getClientChannelClass(ChannelType type)
Returns the correct SocketChannel class based on ChannelType.
|
static Class<? extends io.netty.channel.ServerChannel> |
NettyUtils.getServerChannelClass(ChannelType type)
Returns the correct ServerSocketChannel class based on ChannelType.
|
Copyright © 2015. All Rights Reserved.