Class UnsubscribeQuery
- java.lang.Object
-
- net.timewalker.ffmq4.transport.packet.AbstractPacket
-
- net.timewalker.ffmq4.transport.packet.AbstractQueryPacket
-
- net.timewalker.ffmq4.transport.packet.query.AbstractSessionQuery
-
- net.timewalker.ffmq4.transport.packet.query.UnsubscribeQuery
-
public final class UnsubscribeQuery extends AbstractSessionQuery
UnsubscribeQuery
-
-
Constructor Summary
Constructors Constructor Description UnsubscribeQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSubscriptionName()bytegetType()Get the type value for this packetprotected voidserializeTo(RawDataBuffer out)Write the packet content to the given output streamvoidsetSubscriptionName(String subscriptionName)StringtoString()protected voidunserializeFrom(RawDataBuffer in)Read the packet content to the given input stream-
Methods inherited from class net.timewalker.ffmq4.transport.packet.query.AbstractSessionQuery
getSessionId, setSessionId
-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractQueryPacket
isResponseExpected
-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractPacket
getEndpointId, setEndpointId
-
-
-
-
Method Detail
-
getType
public byte getType()
Description copied from class:AbstractPacketGet the type value for this packet- Specified by:
getTypein classAbstractPacket
-
serializeTo
protected void serializeTo(RawDataBuffer out)
Description copied from class:AbstractPacketWrite the packet content to the given output stream- Overrides:
serializeToin classAbstractSessionQuery
-
unserializeFrom
protected void unserializeFrom(RawDataBuffer in)
Description copied from class:AbstractPacketRead the packet content to the given input stream- Overrides:
unserializeFromin classAbstractSessionQuery
-
getSubscriptionName
public String getSubscriptionName()
- Returns:
- the subscriptionName
-
setSubscriptionName
public void setSubscriptionName(String subscriptionName)
- Parameters:
subscriptionName- the subscriptionName to set
-
toString
public String toString()
- Overrides:
toStringin classAbstractSessionQuery
-
-