public class AMQCommand.Assembler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
state
Current state, used to decide how to handle each incoming frame.
|
static int |
STATE_COMPLETE |
static int |
STATE_EXPECTING_CONTENT_BODY |
static int |
STATE_EXPECTING_CONTENT_HEADER |
static int |
STATE_EXPECTING_METHOD |
Constructor and Description |
---|
AMQCommand.Assembler() |
Modifier and Type | Method and Description |
---|---|
AMQCommand |
completedCommand()
Used to decide when an incoming command is ready for processing
|
AMQCommand |
handleFrame(Frame f) |
void |
updateContentBodyState()
Decides whether more body frames are expected
|
public static final int STATE_EXPECTING_METHOD
public static final int STATE_EXPECTING_CONTENT_HEADER
public static final int STATE_EXPECTING_CONTENT_BODY
public static final int STATE_COMPLETE
public int state
public AMQCommand completedCommand()
public void updateContentBodyState()
public AMQCommand handleFrame(Frame f) throws java.io.IOException
java.io.IOException