public class AmqpProtocolCodec
extends org.fusesource.hawtdispatch.transport.AbstractProtocolCodec
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
maxFrameSize |
private org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action |
readFrameSize |
bufferPools, directReadBuffer, lastReadIoSize, lastWriteIoSize, nextDecodeAction, nextWriteBuffer, readBuffer, readBufferPool, readBufferSize, readChannel, readCounter, readEnd, readStart, writeBuffer, writeBufferPool, writeBufferSize, writeChannel, writeCounter| Constructor and Description |
|---|
AmqpProtocolCodec() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(java.lang.Object object) |
int |
getMaxFrameSize() |
int |
getReadBytesPendingDecode() |
protected org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action |
initialDecodeAction() |
private org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action |
readFrame(int size) |
void |
readProtocolHeader() |
void |
setMaxFrameSize(int maxFrameSize) |
void |
skipProtocolHeader() |
flush, flushNextWriteBuffer, full, getBufferPools, getLastReadSize, getLastWriteSize, getReadBufferSize, getReadCounter, getWriteBufferSize, getWriteCounter, isEmpty, onBufferFlushed, peekBytes, read, readBytes, readDirect, readUntil, readUntil, readUntil, setBufferPools, setTransport, unread, write, writeDirectint maxFrameSize
private final org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action readFrameSize
protected void encode(java.lang.Object object)
throws java.io.IOException
encode in class org.fusesource.hawtdispatch.transport.AbstractProtocolCodecjava.io.IOExceptionprotected org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action initialDecodeAction()
initialDecodeAction in class org.fusesource.hawtdispatch.transport.AbstractProtocolCodecprivate final org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action readFrame(int size)
public int getReadBytesPendingDecode()
public void skipProtocolHeader()
public void readProtocolHeader()
public int getMaxFrameSize()
public void setMaxFrameSize(int maxFrameSize)