@ChannelPipelineCoverage(value="all") public class NettyClientServerCommunicationSystemClientSide extends org.jboss.netty.channel.SimpleChannelUpstreamHandler implements CommunicationSystemClientSide
| Constructor and Description |
|---|
NettyClientServerCommunicationSystemClientSide(ClientViewManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
close() |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
send(boolean sign,
int[] targets,
TOMMessage sm) |
void |
setReplyReceiver(ReplyReceiver trr) |
void |
sign(TOMMessage sm) |
byte[] |
signMessage(java.security.PrivateKey key,
byte[] message) |
void |
updateConnections() |
public NettyClientServerCommunicationSystemClientSide(ClientViewManager manager)
public void updateConnections()
updateConnections in interface CommunicationSystemClientSidepublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
messageReceived in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerpublic void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
channelConnected in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerpublic void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
channelClosed in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerpublic void setReplyReceiver(ReplyReceiver trr)
setReplyReceiver in interface CommunicationSystemClientSidepublic void send(boolean sign,
int[] targets,
TOMMessage sm)
send in interface CommunicationSystemClientSidepublic void sign(TOMMessage sm)
sign in interface CommunicationSystemClientSidepublic byte[] signMessage(java.security.PrivateKey key,
byte[] message)
public void close()
close in interface CommunicationSystemClientSide