public final class WebsocketServerTransporterNetty extends java.lang.Object implements ServerTransporter, ChannelManager
| Constructor and Description |
|---|
WebsocketServerTransporterNetty() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannel(io.netty.channel.Channel _channel) |
void |
addListener(ServerTransporterListener _listener) |
void |
bind(int port) |
void |
bind(int port,
java.io.InputStream keyCertChainInputStream,
java.io.InputStream keyInputStream) |
void |
dispose() |
int |
getConnectionCount() |
void |
removeChannel(io.netty.channel.Channel _channel) |
void |
removeListener(ServerTransporterListener _listener) |
void |
sendToAll(byte[] _data,
java.lang.Object _excludeId) |
void |
sendToOne(byte[] _data,
java.lang.Object _id) |
void |
unbind() |
public void dispose()
dispose in interface ServerTransporterpublic void addChannel(io.netty.channel.Channel _channel)
addChannel in interface ChannelManagerpublic void removeChannel(io.netty.channel.Channel _channel)
removeChannel in interface ChannelManagerpublic void bind(int port)
throws RCPException
bind in interface ServerTransporterRCPExceptionpublic void bind(int port,
java.io.InputStream keyCertChainInputStream,
java.io.InputStream keyInputStream)
throws RCPException
RCPExceptionpublic void unbind()
unbind in interface ServerTransporterpublic void sendToOne(byte[] _data,
java.lang.Object _id)
sendToOne in interface ServerTransporterpublic void sendToAll(byte[] _data,
java.lang.Object _excludeId)
sendToAll in interface ServerTransporterpublic int getConnectionCount()
getConnectionCount in interface ServerTransporterpublic void addListener(ServerTransporterListener _listener)
addListener in interface ServerTransporterpublic void removeListener(ServerTransporterListener _listener)
removeListener in interface ServerTransporter