org.nlogo.hubnet.protocol

Members list

Type members

Classlikes

case class ActivityCommand(tag: String, content: AnyRef) extends Message

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class AgentPerspectiveMessage(bytes: Array[Byte]) extends Message

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class CalculatorInterface(activityName: String, tagSet: Seq[String]) extends ClientInterface

Attributes

Source
CalculatorInterface.scala
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
case object ClearOverrideMessage extends Message

Attributes

Source
Messages.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
case class ComputerInterface(widgets: Seq[Widget], turtleShapes: Seq[Shape], linkShapes: Seq[Shape], chooserChoices: HashMap[String, LogoList]) extends ClientInterface

Attributes

Source
ComputerInterface.scala
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
case object DisableView extends Message

Attributes

Source
Messages.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
class
Source
Messages.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
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.

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object EnterMessage extends Message

Attributes

Source
Messages.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
case class ExitMessage(reason: String) extends Message

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class HandshakeFromClient(userId: String, clientType: String) extends Message

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class HandshakeFromServer(activityName: String, clientInterface: ClientInterface) extends Message

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class LoginFailure(content: String) extends Message

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
trait Message extends Serializable

Attributes

Source
Messages.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
case class OverrideMessage(data: Any, clear: Boolean) extends Message

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class PlotControl(content: AnyRef, plotName: String) extends Message

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class PlotUpdate(plotInterface: PlotInterface) extends Message

Message from server tells client to update Plots

Message from server tells client to update Plots

Attributes

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

Attributes

Companion
class
Source
TestClient.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TestClient.type
case class TestClient(userId: String, clientType: String, ip: String, port: Int, executor: ExecutorService)

Attributes

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

Message from server tells client to display text

Message from server tells client to display text

Attributes

Companion
class
Source
Messages.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Text.type
case class Text(content: String, messageType: MessageType) extends Message

Attributes

Companion
object
Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ViewUpdate(worldData: Array[Byte]) extends Message

Message from server tells client to update the view

Message from server tells client to update the view

Value parameters

worldData

a serialized ServerWorld

Attributes

See also

org.nlogo.hubnet.mirroring.ServerWorld

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all
case class WidgetControl(content: AnyRef & Serializable, tag: String) extends Message

Message from server to client when server changes value of client widget

Message from server to client when server changes value of client widget

Value parameters

content

information to be handled by the indicated widget

tag

the name of the widget

Attributes

Source
Messages.scala
Supertypes
trait Product
trait Equals
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all