C# Class iQQ.Net.WebQQCore.Im.Actor.MutipleActorDispatcher

多线程的QQ内部分发器

Inheritance: IQQActorDispatcher
Show file Open project: huoshan12345/iQQ.Net

Public Methods

Method Description
Destroy ( ) : void
Init ( IQQContext context ) : void
MutipleActorDispatcher ( int pollThreadNum ) : System
PushActor ( IQQActor actor ) : void

Private Methods

Method Description
DispatchAction ( IQQActor actor ) : bool

执行一个QQActor,返回是否继续下一个actor

PushActor ( IQQActor actor, int actorQueuesIndex ) : void
Run ( BlockingCollection actorQueue ) : void

Method Details

Destroy() public method

public Destroy ( ) : void
return void

Init() public method

public Init ( IQQContext context ) : void
context IQQContext
return void

MutipleActorDispatcher() public method

public MutipleActorDispatcher ( int pollThreadNum ) : System
pollThreadNum int
return System

PushActor() public method

public PushActor ( IQQActor actor ) : void
actor IQQActor
return void