Package org.apache.qpid.protonj2.engine
Class PerformativeEnvelope<V>
- java.lang.Object
-
- org.apache.qpid.protonj2.engine.PerformativeEnvelope<V>
-
- Type Parameters:
V- The type of body that thisPerformativeEnvelopewill carry.
- Direct Known Subclasses:
HeaderEnvelope,IncomingAMQPEnvelope,OutgoingAMQPEnvelope,SASLEnvelope
public abstract class PerformativeEnvelope<V> extends java.lang.ObjectBase class for envelope types that travel through the engine.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPerformativeEnvelope(byte frameType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VgetBody()intgetChannel()bytegetFrameType()ProtonBuffergetPayload()java.lang.StringtoString()
-
-
-
Method Detail
-
getBody
public V getBody()
- Returns:
- the decoded body of the performative that this envelope carries..
-
getChannel
public int getChannel()
- Returns:
- the channel that the wrapped body and payload was sent on
-
getFrameType
public byte getFrameType()
- Returns:
- the frame type that is assigned to this envelope
-
getPayload
public ProtonBuffer getPayload()
- Returns:
- the binary payload that was delivered with this envelope
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-