public class TcpChannelHost extends java.lang.Object implements ChannelHost
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static TcpChannelHost |
create() |
static TcpChannelHost |
create(java.net.InetSocketAddress inetSocketAddress) |
IpcChannel |
createChannel(IpcChannelListener ipcChannelListener,
EphemeralKeyPair serverKey) |
java.lang.String |
getType() |
public static TcpChannelHost create(java.net.InetSocketAddress inetSocketAddress) throws java.io.IOException
java.io.IOExceptionpublic static TcpChannelHost create() throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.lang.String getType()
getType in interface ChannelHostpublic IpcChannel createChannel(IpcChannelListener ipcChannelListener, EphemeralKeyPair serverKey)
createChannel in interface ChannelHost