public class ChannelContext
extends Object
Constructor and Description |
---|
ChannelContext(Queue<Datagram> sendingQueue) |
Modifier and Type | Method and Description |
---|---|
Datagram |
getReadingDatagram() |
RegistrationReference |
getRegistrationReference() |
Queue<Datagram> |
getSendingQueue() |
Datagram |
getWritingDatagram() |
void |
setReadingDatagram(Datagram readingDatagram) |
void |
setRegistrationReference(RegistrationReference registrationReference) |
void |
setWritingDatagram(Datagram writingDatagram) |
public ChannelContext(Queue<Datagram> sendingQueue)
public Datagram getReadingDatagram()
public RegistrationReference getRegistrationReference()
public Queue<Datagram> getSendingQueue()
public Datagram getWritingDatagram()
public void setReadingDatagram(Datagram readingDatagram)
public void setRegistrationReference(RegistrationReference registrationReference)
public void setWritingDatagram(Datagram writingDatagram)