public class NettyClientServerSession
extends java.lang.Object
Constructor and Description |
---|
NettyClientServerSession(org.jboss.netty.channel.Channel channel,
javax.crypto.Mac macSend,
javax.crypto.Mac macReceive,
int replicaId,
java.security.PublicKey pKey,
java.util.concurrent.locks.Lock lock) |
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.channel.Channel |
getChannel() |
int |
getLastMsgReceived() |
java.util.concurrent.locks.Lock |
getLock() |
javax.crypto.Mac |
getMacReceive() |
javax.crypto.Mac |
getMacSend() |
java.security.PublicKey |
getPublicKey() |
int |
getReplicaId() |
void |
setLastMsgReceived(int lastMsgReceived_) |
public NettyClientServerSession(org.jboss.netty.channel.Channel channel, javax.crypto.Mac macSend, javax.crypto.Mac macReceive, int replicaId, java.security.PublicKey pKey, java.util.concurrent.locks.Lock lock)
public javax.crypto.Mac getMacReceive()
public javax.crypto.Mac getMacSend()
public org.jboss.netty.channel.Channel getChannel()
public int getReplicaId()
public java.security.PublicKey getPublicKey()
public java.util.concurrent.locks.Lock getLock()
public int getLastMsgReceived()
public void setLastMsgReceived(int lastMsgReceived_)