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