DiscoveryMessage

org.nlogo.hubnet.protocol.DiscoveryMessage
See theDiscoveryMessage companion class

Attributes

Companion
class
Source
Messages.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(uniqueId: String, modelName: String, portNumber: Int): DiscoveryMessage

Creates a new discovery message. Called by the server.

Creates a new discovery message. Called by the server.

Value parameters

modelName

the name of the current model

portNumber

the port the server is listening on

uniqueId

the unique id of the server

Attributes

Source
Messages.scala
def deserialize(hostName: String, bytes: Array[Byte]): DiscoveryMessage

Reconstructs a discovery message from serialized data. Called by the client.

Reconstructs a discovery message from serialized data. Called by the client.

Value parameters

bytes

packet data describing the message

hostName

name of the host sending the message

Attributes

Source
Messages.scala