public class Message
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.io.InputStream |
content
The message content (read from stream).
|
protected jadex.commons.future.Future<java.lang.Void> |
fut
The future to be notified, when sending is completed.
|
protected int |
msgtype
The message type.
|
| Constructor and Description |
|---|
Message(int msgtype,
java.io.InputStream content)
Create a new message.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getContent()
Get the message content.
|
jadex.commons.future.Future<java.lang.Void> |
getFuture()
Get the future.
|
int |
getMessageType()
Get the message type.
|
protected int msgtype
protected java.io.InputStream content
protected jadex.commons.future.Future<java.lang.Void> fut