public class SocketChannelFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.nio.channels.ByteChannel |
clientChannel(java.nio.channels.ByteChannel channel,
java.lang.String host,
int port) |
static SocketChannelFactory |
instance(H2OSecurityManager sm) |
java.nio.channels.ByteChannel |
serverChannel(java.nio.channels.ByteChannel channel) |
public java.nio.channels.ByteChannel serverChannel(java.nio.channels.ByteChannel channel) throws java.io.IOException
java.io.IOException
public java.nio.channels.ByteChannel clientChannel(java.nio.channels.ByteChannel channel, java.lang.String host, int port) throws java.io.IOException
java.io.IOException
public static SocketChannelFactory instance(H2OSecurityManager sm)