Class Envelope


public class Envelope extends Object
Encapsulates a received piece of data. This is used by the Kernel to track incoming chunks of data.
  • Constructor Details

    • 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 arrived.
  • Method Details

    • getSource

      public Endpoint getSource()
    • getData

      public byte[] getData()
    • isReliable

      public boolean isReliable()
    • toString

      public String toString()
      toString in class Object