MessageEnvelope

org.nlogo.hubnet.connection.MessageEnvelope.MessageEnvelope
class MessageEnvelope(kind: MessageType, source: String, tag: Option[String], message: Option[Any])

Represents a message from a HubNet node (and associated meta-data) at an abstract level. This is used by HubNetNodeConnections to enqueue messages in the HubNetManager. It includes all message-related data that is relevant to the HNManager and the primitives, inluding a generic payload.

Attributes

Source
MessageEnvelope.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def getMessage: Any

Attributes

Source
MessageEnvelope.scala

Attributes

Source
MessageEnvelope.scala
def getTag: String

Attributes

Source
MessageEnvelope.scala