public class Envelope
extends java.lang.Object
Constructor and Description |
---|
Envelope(Endpoint source,
byte[] data,
boolean reliable)
Creates an incoming envelope holding the data from the specified
source.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
Endpoint |
getSource() |
boolean |
isReliable() |
java.lang.String |
toString() |
public Envelope(Endpoint source, byte[] data, boolean reliable)
public Endpoint getSource()
public byte[] getData()
public boolean isReliable()
public java.lang.String toString()
toString
in class java.lang.Object