Class/Object

colossus

IOSystem

Related Docs: object IOSystem | package colossus

Permalink

case class IOSystem extends Product with Serializable

An IO System is basically a collection of worker actors. You can attach either servers or clients to an IOSystem.

You may have multiple IOSystems per ActorSystem and actors attached to different IOSystems have no rules about cross communication. The main thing to keep in mind is that all actors in a single IOSystem will share event loops.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IOSystem
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. def !(msg: Any)(implicit sender: ActorRef = ActorRef.noSender): Unit

    Permalink

    Sends a message to the underlying WorkerManager.

    Sends a message to the underlying WorkerManager.

    msg

    Msg to send

    sender

    The sender of the message, defaults to ActorRef.noSender

  2. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val actorSystem: ActorSystem

    Permalink
  6. def apocalypse(): Unit

    Permalink

    Shuts down the entire actor system

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val config: IOSystemConfig

    Permalink
  10. def connect(address: InetSocketAddress, handler: (WorkerRef) ⇒ ClientConnectionHandler): Unit

    Permalink

    Connect to the specified address and use the specified function to create a Handler to attach to it.

    Connect to the specified address and use the specified function to create a Handler to attach to it.

    address

    The address with which to connect.

    handler

    Function which takes in the bound WorkerRef and creates a ClientConnectionHandler which is connected to the handler.

  11. def connectionSummary(implicit to: Timeout, ec: ExecutionContext): Future[ConnectionSummary]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val metrics: MetricSystem

    Permalink
  17. def name: String

    Permalink

    Name of the IOSystem as specified in the IOSystemConfig

  18. val namespace: MetricAddress

    Permalink

    MetricAddress of this IOSystem as seen from the MetricSystem

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def registeredServers(implicit to: Timeout, ec: ExecutionContext): Future[Seq[ServerRef]]

    Permalink
  23. def run(t: Task): ActorRef

    Permalink

    Run the specified task on a Worker thread.

    Run the specified task on a Worker thread.

    t

    The Task to run

    returns

    The Task's ActorRef

  24. def shutdown(): Unit

    Permalink

    Shuts down the IO System

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. val workerManager: ActorRef

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped