Packages

o

it.unibo.osmos.redux.multiplayer.common

ActorSystemHolder

object ActorSystemHolder

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActorSystemHolder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def clearActors(): Unit

    Clears all the actors of the actor system.

  2. def createActor(server: Server): ActorRef

    Creates a new ServerActor that refers to the input server object

    Creates a new ServerActor that refers to the input server object

    server

    The input server object that the new actor will refer to.

    returns

    The ActorRef

  3. def createActor(client: Client): ActorRef

    Creates a new ClientActor that refers to the input client object

    Creates a new ClientActor that refers to the input client object

    client

    The input client object that the new actor will refer to.

    returns

    The ActorRef

  4. def getSystem: ActorSystem

    Gets the actor system.

    Gets the actor system.

    returns

    The actor system.

  5. def kill(): Unit

    Kills this instance.

  6. def stopActor(actorRef: ActorRef): Unit

    Stops an actor.

    Stops an actor.

    actorRef

    The actor ref.

  7. def systemAddress: Address

    Gets the actor system network information.

    Gets the actor system network information.

    returns

    The network information of the system as Address object.