Class AbstractSessionQuery
- java.lang.Object
-
- net.timewalker.ffmq4.transport.packet.AbstractPacket
-
- net.timewalker.ffmq4.transport.packet.AbstractQueryPacket
-
- net.timewalker.ffmq4.transport.packet.query.AbstractSessionQuery
-
- Direct Known Subclasses:
AbstractConsumerQuery,AbstractQueueBrowserQuery,AbstractTransactionDemarcationQuery,CloseSessionQuery,CreateBrowserQuery,CreateConsumerQuery,CreateDurableSubscriberQuery,CreateTemporaryQueueQuery,CreateTemporaryTopicQuery,PutQuery,UnsubscribeQuery
public abstract class AbstractSessionQuery extends AbstractQueryPacket
AbstractSessionQuery
-
-
Constructor Summary
Constructors Constructor Description AbstractSessionQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerIDgetSessionId()protected voidserializeTo(RawDataBuffer out)Write the packet content to the given output streamvoidsetSessionId(IntegerID sessionId)StringtoString()protected voidunserializeFrom(RawDataBuffer in)Read the packet content to the given input stream-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractQueryPacket
isResponseExpected
-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractPacket
getEndpointId, getType, setEndpointId
-
-
-
-
Method Detail
-
serializeTo
protected void serializeTo(RawDataBuffer out)
Description copied from class:AbstractPacketWrite the packet content to the given output stream- Overrides:
serializeToin classAbstractPacket
-
unserializeFrom
protected void unserializeFrom(RawDataBuffer in)
Description copied from class:AbstractPacketRead the packet content to the given input stream- Overrides:
unserializeFromin classAbstractPacket
-
getSessionId
public IntegerID getSessionId()
- Returns:
- Returns the sessionId.
-
setSessionId
public void setSessionId(IntegerID sessionId)
- Parameters:
sessionId- The sessionId to set.
-
toString
public String toString()
- Overrides:
toStringin classAbstractPacket
-
-