public abstract class Message extends SimpleStreamableObject
UpstreamMessage and DownstreamMessage.Streamable.Closure| Modifier and Type | Field and Description |
|---|---|
long |
received
A timestamp indicating when this message was received from the network.
|
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
Transport |
getTransport()
Returns the message transport parameters.
|
void |
noteActualTransport(Transport transport)
For messages sent over the network, this notes the actual type of transport used to deliver
the message.
|
void |
setTransport(Transport transport)
Sets the message transport parameters.
|
toStringpublic transient long received
public void setTransport(Transport transport)
public Transport getTransport()
public void noteActualTransport(Transport transport)
Copyright © 2015. All rights reserved.