@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 CommunicationSystemClientSide
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
channelConnected
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
channelClosed
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void setReplyReceiver(ReplyReceiver trr)
setReplyReceiver
in interface CommunicationSystemClientSide
public void send(boolean sign, int[] targets, TOMMessage sm)
send
in interface CommunicationSystemClientSide
public void sign(TOMMessage sm)
sign
in interface CommunicationSystemClientSide
public byte[] signMessage(java.security.PrivateKey key, byte[] message)
public void close()
close
in interface CommunicationSystemClientSide