Class CreateConsumerResponse
- java.lang.Object
-
- net.timewalker.ffmq4.transport.packet.AbstractPacket
-
- net.timewalker.ffmq4.transport.packet.AbstractResponsePacket
-
- net.timewalker.ffmq4.transport.packet.response.CreateConsumerResponse
-
public final class CreateConsumerResponse extends AbstractResponsePacket
CreateConsumerResponse
-
-
Constructor Summary
Constructors Constructor Description CreateConsumerResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPrefetchSize()bytegetType()Get the type value for this packetprotected voidserializeTo(RawDataBuffer out)Write the packet content to the given output streamvoidsetPrefetchSize(int prefetchSize)StringtoString()protected voidunserializeFrom(RawDataBuffer in)Read the packet content to the given input stream-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractResponsePacket
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 classAbstractPacket
-
unserializeFrom
protected void unserializeFrom(RawDataBuffer in)
Description copied from class:AbstractPacketRead the packet content to the given input stream- Overrides:
unserializeFromin classAbstractPacket
-
getPrefetchSize
public int getPrefetchSize()
- Returns:
- the prefetchSize
-
setPrefetchSize
public void setPrefetchSize(int prefetchSize)
- Parameters:
prefetchSize- the prefetchSize to set
-
toString
public String toString()
- Overrides:
toStringin classAbstractPacket
-
-