public class MessageIO
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
static interface |
MessageIO.Callback |
Constructor and Description |
---|
MessageIO() |
MessageIO(int messageLengthByteCount) |
MessageIO(MessageIO.Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
addAgent(AgentInfo agentInfo) |
void |
addToOutput(AOByteBuffer buf,
AgentInfo agentInfo) |
void |
addToOutputWithLength(AOByteBuffer buf,
AgentInfo agentInfo) |
int |
getMessageLengthByteCount() |
protected void |
initialize(MessageIO.Callback callback) |
void |
outputReady() |
void |
removeAgent(AgentInfo agentInfo) |
void |
run() |
void |
setMessageLengthByteCount(int messageLengthByteCount) |
void |
start() |
void |
start(java.lang.String threadName) |
public MessageIO()
public MessageIO(int messageLengthByteCount)
public MessageIO(MessageIO.Callback callback)
protected void initialize(MessageIO.Callback callback)
public void start()
public void start(java.lang.String threadName)
public void addAgent(AgentInfo agentInfo)
public void removeAgent(AgentInfo agentInfo)
public void outputReady()
public void addToOutputWithLength(AOByteBuffer buf, AgentInfo agentInfo)
public void addToOutput(AOByteBuffer buf, AgentInfo agentInfo)
public void run()
run
in interface java.lang.Runnable
public int getMessageLengthByteCount()
public void setMessageLengthByteCount(int messageLengthByteCount)