C# Class NFrame.NFCActorMng

Inheritance: NFIActorMng
显示文件 Open project: ketoo/NFrame Class Usage Examples

Public Methods

Method Description
CreateActor ( ) : NFGUID
CreateActor ( NFIActor handler ) : NFGUID
Execute ( ) : void
GetActor ( NFGUID xID ) : NFIActor
GetScheduler ( ) : NFIScheduler
Intance ( ) : NFIActorMng
RegisterHandler ( NFGUID xID, NFIActor handler ) : bool
ReleaseActor ( NFGUID xID ) : bool
ReleaseAllActor ( ) : void
SendMsg ( NFGUID address, NFGUID from, NFIActorMessage xMessage ) : bool

Private Methods

Method Description
NFCActorMng ( ) : System
ReleaseActor ( NFIActor xActor ) : bool

Method Details

CreateActor() public method

public CreateActor ( ) : NFGUID
return NFGUID

CreateActor() public method

public CreateActor ( NFIActor handler ) : NFGUID
handler NFIActor
return NFGUID

Execute() public method

public Execute ( ) : void
return void

GetActor() public method

public GetActor ( NFGUID xID ) : NFIActor
xID NFGUID
return NFIActor

GetScheduler() public method

public GetScheduler ( ) : NFIScheduler
return NFIScheduler

Intance() public static method

public static Intance ( ) : NFIActorMng
return NFIActorMng

RegisterHandler() public method

public RegisterHandler ( NFGUID xID, NFIActor handler ) : bool
xID NFGUID
handler NFIActor
return bool

ReleaseActor() public method

public ReleaseActor ( NFGUID xID ) : bool
xID NFGUID
return bool

ReleaseAllActor() public method

public ReleaseAllActor ( ) : void
return void

SendMsg() public method

public SendMsg ( NFGUID address, NFGUID from, NFIActorMessage xMessage ) : bool
address NFGUID
from NFGUID
xMessage NFIActorMessage
return bool