DiscoveryMessage

org.nlogo.hubnet.protocol.DiscoveryMessage
See theDiscoveryMessage companion object
case class DiscoveryMessage(version: String, uniqueId: String, modelName: String, portNumber: String, hostName: String)

A message broadcast by HubNet servers to announce their existence. Sent by [[org.nlogo.hubnet.server.DiscoveryAnnouncer]] in the server and received by org.nlogo.hubnet.client.DiscoveryListener in the client.

Value parameters

hostName
  • The host name of the originating server. This is null on the server side and is filled in on the client side with information from the transmission packet.
modelName
  • Name of the model running on the server sending this message
portNumber

-Port on which the server senging this message is operating

uniqueId
  • User-defined uniqueId of the server sending this message
version
  • Version id of the server sending this message

Attributes

Companion
object
Source
Messages.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
Messages.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

Attributes

Source
Messages.scala