Class/Object

colossus

IOSystem

Related Docs: object IOSystem | package colossus

Permalink

class IOSystem extends AnyRef

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
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IOSystem
  2. AnyRef
  3. 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 bindWithProxy(item: (Context) ⇒ WorkerItem with ProxyActor): ActorRef

    Permalink

    Bind a new WorkerItem that uses a proxy actor, returning the actor

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def connect(address: InetSocketAddress, handler: (Context) ⇒ 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 equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. val metrics: MetricSystem

    Permalink
  19. val name: String

    Permalink
  20. val namespace: MetricNamespace

    Permalink

    The namespace of this IOSystem, used by metrics

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. val numWorkers: Int

    Permalink
  25. def registeredServers(implicit to: Timeout, ec: ExecutionContext): Future[Seq[ServerRef]]

    Permalink
  26. def shutdown(): Unit

    Permalink

    Shuts down the IO System

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped