com.jme3.network.kernel
クラス Envelope
java.lang.Object
com.jme3.network.kernel.Envelope
public class Envelope
- extends java.lang.Object
Encapsulates a received piece of data. This is used by the Kernel
to track incoming chunks of data.
コンストラクタの概要 |
Envelope(Endpoint source,
byte[] data,
boolean reliable)
Creates an incoming envelope holding the data from the specified
source. |
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Envelope
public Envelope(Endpoint source,
byte[] data,
boolean reliable)
- Creates an incoming envelope holding the data from the specified
source. The 'reliable' flag further indicates on which mode of
transport the data arrrived.
getSource
public Endpoint getSource()
getData
public byte[] getData()
isReliable
public boolean isReliable()
toString
public java.lang.String toString()
- オーバーライド:
- クラス
java.lang.Object
内の toString