C# Class RPCBase.Client.GateAdaptor

Inheritance: IAdaptor, IPollable
Afficher le fichier Open project: fingerpasswang/Phial Class Usage Examples

Méthodes publiques

Méthode Description
BeginReceive ( ) : void
GateAdaptor ( string connIp, int port ) : System
Poll ( ) : void
RegisterDelegate ( IMessageConsumer consumer, string serviceId ) : void
RegisterImpl ( IMessageConsumer impl, string serviceId ) : void
Send ( byte buffer, byte dstUuid, RoutingRule routingRule ) : void

Private Methods

Méthode Description
MessageTypeToBuffer ( GateMessage message ) : byte[]
OnHandleConnected ( ILocal remote, Exception e ) : void
OnHandleDisconnected ( ) : void
OnHandleMessageReceived ( Network.Message msg ) : void

Method Details

BeginReceive() public méthode

public BeginReceive ( ) : void
Résultat void

GateAdaptor() public méthode

public GateAdaptor ( string connIp, int port ) : System
connIp string
port int
Résultat System

Poll() public méthode

public Poll ( ) : void
Résultat void

RegisterDelegate() public méthode

public RegisterDelegate ( IMessageConsumer consumer, string serviceId ) : void
consumer IMessageConsumer
serviceId string
Résultat void

RegisterImpl() public méthode

public RegisterImpl ( IMessageConsumer impl, string serviceId ) : void
impl IMessageConsumer
serviceId string
Résultat void

Send() public méthode

public Send ( byte buffer, byte dstUuid, RoutingRule routingRule ) : void
buffer byte
dstUuid byte
routingRule RoutingRule
Résultat void