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