cc.otavia.core.actor

Members list

Type members

Classlikes

abstract class AcceptedWorkerActor[M <: Call] extends ChannelsActor[M | AcceptedChannel]

Attributes

Supertypes
trait Actor[M | AcceptedChannel]
class Object
trait Matchable
class Any
abstract class AcceptorActor[W <: AcceptedWorkerActor[_ <: Call]] extends ChannelsActor[Bind]

Attributes

Companion
object
Supertypes
trait Actor[Bind]
class Object
trait Matchable
class Any
object AcceptorActor

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait Actor[+M <: Call]

base class of IO & Actor model, it has two subclass

base class of IO & Actor model, it has two subclass

  1. cc.otavia.core.actor.StateActor: general actor
  2. cc.otavia.core.actor.ChannelsActor: socket group, a actor which can handle io event

Type parameters

M

the type of message of this actor can handle

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
opaque object Actor

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Actor.type
abstract class ActorCleaner extends Runnable

Attributes

Supertypes
trait Runnable
class Object
trait Matchable
class Any
trait ActorContext

Actor content info, the content info is created by actor system when a Actor instance is creating by actor system, and inject to Actor instance by Actor.setCtx

Actor content info, the content info is created by actor system when a Actor instance is creating by actor system, and inject to Actor instance by Actor.setCtx

Attributes

Supertypes
class Object
trait Matchable
class Any
trait ActorFactory[A <: Actor[_ <: Call]]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait WorkerFactory[W]

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
AbstractActor[_]
abstract class ChannelsActor[M <: Call]

Attributes

Companion
object
Supertypes
trait Actor[M]
class Object
trait Matchable
class Any
Known subtypes
object ChannelsActor

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class DatagramChannelsActor[M <: Call] extends ChannelsActor[M]

Attributes

Supertypes
class ChannelsActor[M]
trait Actor[M]
class Object
trait Matchable
class Any

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class MainActor(val args: Array[String]) extends StateActor[Args]

Attributes

Companion
object
Supertypes
class StateActor[Args]
trait Actor[Args]
class Object
trait Matchable
class Any
object MainActor

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
MainActor.type
abstract class SocketChannelsActor[M <: Call] extends ChannelsActor[M]

Attributes

Companion
object
Supertypes
class ChannelsActor[M]
trait Actor[M]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class StateActor[M <: Call]

Attributes

Supertypes
trait Actor[M]
class Object
trait Matchable
class Any
Known subtypes
class MainActor
class ProbeActor[M, R]

Types

type MessageOf[A <: Actor[_]] = A match { case Actor[m] => m }

Message type of actor can receive

Message type of actor can receive

Attributes