Package | Description |
---|---|
pt.lsts.imc | |
pt.lsts.imc.net | |
pt.lsts.imc.state |
Modifier and Type | Method and Description |
---|---|
static MessagePart |
MessagePart.clone(IMCMessage msg) |
static MessagePart |
MessagePart.create(java.lang.Object... values) |
MessagePart |
MessagePart.setData(byte[] data) |
MessagePart |
MessagePart.setFragNumber(short frag_number) |
MessagePart |
MessagePart.setNumFrags(short num_frags) |
MessagePart |
MessagePart.setUid(short uid) |
Modifier and Type | Method and Description |
---|---|
MessagePart[] |
IMCFragmentHandler.fragment(IMCMessage message,
int maxFragLength)
Fragment a message into smaller MessagePart's
|
Modifier and Type | Method and Description |
---|---|
IMCMessage |
IMCFragmentHandler.setFragment(MessagePart fragment)
Add an incoming fragment
|
Modifier and Type | Method and Description |
---|---|
IMCMessage |
IMCFragmentHandler.reassemble(java.util.List<MessagePart> parts)
Given a list of message fragments try to reassemble the fragments into an IMCMessage
|
Modifier and Type | Method and Description |
---|---|
MessagePart |
ImcSysState.lastMessagePart()
Retrieve the last
MessagePart or null if no message of that type was received yet. |
MessagePart |
ImcSysState.lastMessagePart(java.lang.String entityName)
Retrieve the last
MessagePart generated by the given entityName or null if no such message was received yet. |
MessagePart |
ImcSysState.pollMessagePart(long timeoutMillis)
Wait and retrieve the next
MessagePart . |
MessagePart |
ImcSysState.pollMessagePart(java.lang.String entityName,
long timeoutMillis)
Wait and retrieve the next
MessagePart generated by given entity. |