C# Class RPCBase.Server.ZkAdaptor

Inheritance: IAdaptor
显示文件 Open project: fingerpasswang/Phial Class Usage Examples

Public Methods

Method Description
BeginReceive ( ) : void
Identity ( string roundName ) : void
IsLeader ( string roundName ) : bool
RegisterDelegate ( IMessageConsumer consumer, string serviceId ) : void
RegisterImpl ( IMessageConsumer consumer, string serviceId ) : void
Send ( byte buffer, byte dstUuid, RoutingRule routingRule ) : void
ZkAdaptor ( ) : System

Private Methods

Method Description
OnDataChanged ( string path, byte buffer ) : void

Method Details

BeginReceive() public method

public BeginReceive ( ) : void
return void

Identity() public method

public Identity ( string roundName ) : void
roundName string
return void

IsLeader() public method

public IsLeader ( string roundName ) : bool
roundName string
return bool

RegisterDelegate() public method

public RegisterDelegate ( IMessageConsumer consumer, string serviceId ) : void
consumer IMessageConsumer
serviceId string
return void

RegisterImpl() public method

public RegisterImpl ( IMessageConsumer consumer, string serviceId ) : void
consumer IMessageConsumer
serviceId string
return void

Send() public method

public Send ( byte buffer, byte dstUuid, RoutingRule routingRule ) : void
buffer byte
dstUuid byte
routingRule RoutingRule
return void

ZkAdaptor() public method

public ZkAdaptor ( ) : System
return System