public final class NotificationPacket extends AbstractPacket
| Constructor and Description |
|---|
NotificationPacket() |
| Modifier and Type | Method and Description |
|---|---|
IntegerID |
getConsumerId() |
AbstractMessage |
getMessage() |
IntegerID |
getSessionId() |
byte |
getType()
Get the type value for this packet
|
boolean |
isDonePrefetching() |
boolean |
isResponseExpected() |
protected void |
serializeTo(RawDataBuffer out)
Write the packet content to the given output stream
|
void |
setConsumerId(IntegerID consumerId) |
void |
setDonePrefetching(boolean donePrefetching) |
void |
setMessage(AbstractMessage message) |
void |
setSessionId(IntegerID sessionId) |
String |
toString() |
protected void |
unserializeFrom(RawDataBuffer in)
Read the packet content to the given input stream
|
getEndpointId, setEndpointIdpublic byte getType()
AbstractPacketgetType in class AbstractPacketprotected void serializeTo(RawDataBuffer out)
AbstractPacketserializeTo in class AbstractPacketprotected void unserializeFrom(RawDataBuffer in)
AbstractPacketunserializeFrom in class AbstractPacketpublic IntegerID getSessionId()
public void setSessionId(IntegerID sessionId)
sessionId - the sessionId to setpublic IntegerID getConsumerId()
public void setConsumerId(IntegerID consumerId)
consumerId - the consumerId to setpublic AbstractMessage getMessage()
public void setMessage(AbstractMessage message)
message - the message to setpublic boolean isDonePrefetching()
public void setDonePrefetching(boolean donePrefetching)
donePrefetching - the donePrefetching to setpublic final boolean isResponseExpected()
isResponseExpected in class AbstractPacketpublic String toString()
toString in class AbstractPacketCopyright © 2019. All rights reserved.