org.apache.qpid.transport.network
Class Frame
java.lang.Object
org.apache.qpid.transport.network.Frame
- All Implemented Interfaces:
- NetworkEvent
public final class Frame
- extends Object
- implements NetworkEvent
Frame
HEADER_SIZE
public static final int HEADER_SIZE
- See Also:
- Constant Field Values
L1
public static final byte L1
- See Also:
- Constant Field Values
L2
public static final byte L2
- See Also:
- Constant Field Values
L3
public static final byte L3
- See Also:
- Constant Field Values
L4
public static final byte L4
- See Also:
- Constant Field Values
RESERVED
public static final byte RESERVED
- See Also:
- Constant Field Values
VERSION
public static final byte VERSION
- See Also:
- Constant Field Values
FIRST_SEG
public static final byte FIRST_SEG
- See Also:
- Constant Field Values
LAST_SEG
public static final byte LAST_SEG
- See Also:
- Constant Field Values
FIRST_FRAME
public static final byte FIRST_FRAME
- See Also:
- Constant Field Values
LAST_FRAME
public static final byte LAST_FRAME
- See Also:
- Constant Field Values
Frame
public Frame(byte flags,
SegmentType type,
byte track,
int channel,
ByteBuffer body)
getBody
public ByteBuffer getBody()
getFlags
public byte getFlags()
getChannel
public int getChannel()
getSize
public int getSize()
getType
public SegmentType getType()
getTrack
public byte getTrack()
isFirstSegment
public boolean isFirstSegment()
isLastSegment
public boolean isLastSegment()
isFirstFrame
public boolean isFirstFrame()
isLastFrame
public boolean isLastFrame()
delegate
public void delegate(NetworkDelegate delegate)
- Specified by:
delegate
in interface NetworkEvent
toString
public String toString()
- Overrides:
toString
in class Object
Licensed to the Apache Software Foundation