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 thisPerformativeEnvelope
will carry.
- Direct Known Subclasses:
HeaderEnvelope
,IncomingAMQPEnvelope
,OutgoingAMQPEnvelope
,SASLEnvelope
Base class for envelope types that travel through the engine.
-
Constructor Details
-
PerformativeEnvelope
protected PerformativeEnvelope(byte frameType)
-
-
Method Details
-
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
- Returns:
- the binary payload that was delivered with this envelope
-
toString
-