Class CreateConsumerQuery
- 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.CreateConsumerQuery
-
public final class CreateConsumerQuery extends AbstractSessionQuery
CreateConsumerQuery
-
-
Constructor Summary
Constructors Constructor Description CreateConsumerQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerIDgetConsumerId()javax.jms.DestinationgetDestination()StringgetMessageSelector()bytegetType()Get the type value for this packetbooleanisNoLocal()protected voidserializeTo(RawDataBuffer out)Write the packet content to the given output streamvoidsetConsumerId(IntegerID consumerId)voidsetDestination(javax.jms.Destination destination)voidsetMessageSelector(String messageSelector)voidsetNoLocal(boolean noLocal)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
-
getConsumerId
public IntegerID getConsumerId()
- Returns:
- the consumerId
-
setConsumerId
public void setConsumerId(IntegerID consumerId)
- Parameters:
consumerId- the consumerId to set
-
getDestination
public javax.jms.Destination getDestination()
- Returns:
- the destination
-
setDestination
public void setDestination(javax.jms.Destination destination)
- Parameters:
destination- the destination to set
-
getMessageSelector
public String getMessageSelector()
- Returns:
- the messageSelector
-
setMessageSelector
public void setMessageSelector(String messageSelector)
- Parameters:
messageSelector- the messageSelector to set
-
isNoLocal
public boolean isNoLocal()
- Returns:
- the noLocal
-
setNoLocal
public void setNoLocal(boolean noLocal)
- Parameters:
noLocal- the noLocal to set
-
toString
public String toString()
- Overrides:
toStringin classAbstractSessionQuery
-
-