Example usage for Java com.rabbitmq.client.impl Frame fields, constructors, methods, implement or subclass
The text is from its open source code.
Frame(int type, int channel, byte[] payload) Constructs a frame for input with a type, a channel number and a payload byte array. |
long | fieldValueSize(Object value) Computes the AMQP wire-protocol length of a protocol-encoded field-value. |
Frame | fromBodyFragment(int channelNumber, byte[] body, int offset, int length) |
DataInputStream | getInputStream() Public API - retrieves a new DataInputStream streaming over the payload |
byte[] | getPayload() Public API - retrieves the frame payload |
void | writeTo(DataOutputStream os) Public API - writes this Frame to the given DataOutputStream |