C# Класс PhotonWire.Server.ServerToServer.PhotonWireInboundS2SPeer

Наследование: InboundS2SPeer, IS2SPhotonWirePeer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PhotonWireInboundS2SPeer ( InitRequest initRequest ) : System
RegisterDisconnectAction ( string>.Action action ) : IDisposable
SendOperationRequestAsync ( byte operationCode, object>.Dictionary parameters, SendParameters sendParameters ) : Task

Защищенные методы

Метод Описание
OnDisconnect ( DisconnectReason reasonCode, string reasonDetail ) : void
OnEvent ( IEventData eventData, SendParameters sendParameters ) : void
OnOperationRequest ( OperationRequest operationRequest, SendParameters sendParameters ) : void
OnOperationResponse ( OperationResponse operationResponse, SendParameters sendParameters ) : void

Приватные методы

Метод Описание
IssueOperationResponseFuture ( int messageId ) : TaskCompletionSource
TryGetAndRemoveFuture ( int messageId, TaskCompletionSource &future ) : bool

Описание методов

OnDisconnect() защищенный Метод

protected OnDisconnect ( DisconnectReason reasonCode, string reasonDetail ) : void
reasonCode DisconnectReason
reasonDetail string
Результат void

OnEvent() защищенный Метод

protected OnEvent ( IEventData eventData, SendParameters sendParameters ) : void
eventData IEventData
sendParameters SendParameters
Результат void

OnOperationRequest() защищенный Метод

protected OnOperationRequest ( OperationRequest operationRequest, SendParameters sendParameters ) : void
operationRequest OperationRequest
sendParameters SendParameters
Результат void

OnOperationResponse() защищенный Метод

protected OnOperationResponse ( OperationResponse operationResponse, SendParameters sendParameters ) : void
operationResponse OperationResponse
sendParameters SendParameters
Результат void

PhotonWireInboundS2SPeer() публичный Метод

public PhotonWireInboundS2SPeer ( InitRequest initRequest ) : System
initRequest InitRequest
Результат System

RegisterDisconnectAction() публичный Метод

public RegisterDisconnectAction ( string>.Action action ) : IDisposable
action string>.Action
Результат IDisposable

SendOperationRequestAsync() публичный Метод

public SendOperationRequestAsync ( byte operationCode, object>.Dictionary parameters, SendParameters sendParameters ) : Task
operationCode byte
parameters object>.Dictionary
sendParameters SendParameters
Результат Task