| Constructor and Description |
|---|
HeartbeatBody() |
HeartbeatBody(DataInputStream buffer,
long size) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getFrameType() |
int |
getSize()
Get the size of the body
|
void |
handle(int channelId,
AMQVersionAwareProtocolSession session) |
protected void |
populateFromBuffer(DataInputStream buffer,
long size) |
static void |
process(int channel,
ByteBuffer in,
MethodProcessor processor,
long bodySize) |
AMQFrame |
toFrame() |
long |
writePayload(ByteBufferSender sender) |
public static final byte TYPE
public static final AMQFrame FRAME
public HeartbeatBody()
public HeartbeatBody(DataInputStream buffer, long size) throws IOException
IOExceptionpublic byte getFrameType()
getFrameType in interface AMQBodypublic int getSize()
AMQBodypublic long writePayload(ByteBufferSender sender)
writePayload in interface AMQBodypublic void handle(int channelId,
AMQVersionAwareProtocolSession session)
throws QpidException
handle in interface AMQBodyQpidExceptionprotected void populateFromBuffer(DataInputStream buffer, long size) throws AMQFrameDecodingException, IOException
AMQFrameDecodingExceptionIOExceptionpublic AMQFrame toFrame()
public static void process(int channel,
ByteBuffer in,
MethodProcessor processor,
long bodySize)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.