AcceptedWorkerActor

cc.otavia.core.actor.AcceptedWorkerActor
abstract class AcceptedWorkerActor[M <: Call] extends ChannelsActor[M | AcceptedChannel]

Attributes

Graph
Supertypes
trait Actor[M | AcceptedChannel]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

protected def afterAccepted(channel: ChannelAddress): Unit
final protected def handleAccepted(stack: AskStack[AcceptedChannel]): StackYield

handle AcceptedChannel message, this method will called by resumeAsk

handle AcceptedChannel message, this method will called by resumeAsk

Attributes

override protected def newChannel(): Channel

Create a new Channel

Create a new Channel

Attributes

Definition Classes

Inherited methods

final def actorId: Long

The unique id of this actor distributed by ActorSystem, when a actor instance is mounted to a ActorSystem, the actor system will distribute a unique id to the instance.

The unique id of this actor distributed by ActorSystem, when a actor instance is mounted to a ActorSystem, the actor system will distribute a unique id to the instance.

Attributes

Returns

id number

Inherited from:
Actor

Attributes

Inherited from:
ChannelsActor
final def autowire[A <: Actor[_] : ClassTag](qualifier: String): Address[MessageOf[A]]

Attributes

Inherited from:
Actor
final def autowire[A <: Actor[_] : ClassTag](qualifier: Option[String], remote: Option[String]): Address[MessageOf[A]]

Attributes

Inherited from:
Actor
def batchable: Boolean

whether this actor is a batch actor, if override it to true, actor system will dispatch seq message to receiveBatchXXX method

whether this actor is a batch actor, if override it to true, actor system will dispatch seq message to receiveBatchXXX method

Attributes

Inherited from:
AbstractActor (hidden)
final override def context: ActorContext

Context of this actor. This method can only used after actor instance mount to actor system

Context of this actor. This method can only used after actor instance mount to actor system

Attributes

Definition Classes
AbstractActor -> Actor
Inherited from:
AbstractActor (hidden)
def handler: Option[ChannelInitializer[_ <: Channel]]

Attributes

Inherited from:
ChannelsActor
final def inExecutor(): Boolean

Attributes

Inherited from:
ChannelsActor
def maxBatchSize: Int

max size message for each batch, usage for schedule system

max size message for each batch, usage for schedule system

Attributes

Inherited from:
AbstractActor (hidden)

Attributes

Inherited from:
Actor
def nice: Int

Attributes

Inherited from:
Actor
final def reactor: Reactor

Attributes

Inherited from:
ChannelsActor
override def self: ActorAddress[M | AcceptedChannel]

self address of this actor instance

self address of this actor instance

Attributes

Definition Classes
ChannelsActor -> AbstractActor
Inherited from:
ChannelsActor
final def system: ActorSystem

The ActorSystem of this actor instance is running

The ActorSystem of this actor instance is running

Attributes

Returns

ActorSystem

Inherited from:
Actor
final def timer: Timer

Attributes

Inherited from:
Actor

Inherited fields

val batchAskFilter: (Ask[_]) => Boolean

Attributes

Inherited from:
AbstractActor (hidden)
val batchNoticeFilter: Notice => Boolean

Attributes

Inherited from:
AbstractActor (hidden)