C# Class PhotonWire.Server.ServerToServer.PhotonWireInboundS2SPeer

Inheritance: InboundS2SPeer, IS2SPhotonWirePeer
Datei anzeigen Open project: neuecc/PhotonWire Class Usage Examples

Public Methods

Method Description
PhotonWireInboundS2SPeer ( InitRequest initRequest ) : System
RegisterDisconnectAction ( string>.Action action ) : IDisposable
SendOperationRequestAsync ( byte operationCode, object>.Dictionary parameters, SendParameters sendParameters ) : Task

Protected Methods

Method Description
OnDisconnect ( DisconnectReason reasonCode, string reasonDetail ) : void
OnEvent ( IEventData eventData, SendParameters sendParameters ) : void
OnOperationRequest ( OperationRequest operationRequest, SendParameters sendParameters ) : void
OnOperationResponse ( OperationResponse operationResponse, SendParameters sendParameters ) : void

Private Methods

Method Description
IssueOperationResponseFuture ( int messageId ) : TaskCompletionSource
TryGetAndRemoveFuture ( int messageId, TaskCompletionSource &future ) : bool

Method Details

OnDisconnect() protected method

protected OnDisconnect ( DisconnectReason reasonCode, string reasonDetail ) : void
reasonCode DisconnectReason
reasonDetail string
return void

OnEvent() protected method

protected OnEvent ( IEventData eventData, SendParameters sendParameters ) : void
eventData IEventData
sendParameters SendParameters
return void

OnOperationRequest() protected method

protected OnOperationRequest ( OperationRequest operationRequest, SendParameters sendParameters ) : void
operationRequest OperationRequest
sendParameters SendParameters
return void

OnOperationResponse() protected method

protected OnOperationResponse ( OperationResponse operationResponse, SendParameters sendParameters ) : void
operationResponse OperationResponse
sendParameters SendParameters
return void

PhotonWireInboundS2SPeer() public method

public PhotonWireInboundS2SPeer ( InitRequest initRequest ) : System
initRequest InitRequest
return System

RegisterDisconnectAction() public method

public RegisterDisconnectAction ( string>.Action action ) : IDisposable
action string>.Action
return IDisposable

SendOperationRequestAsync() public method

public SendOperationRequestAsync ( byte operationCode, object>.Dictionary parameters, SendParameters sendParameters ) : Task
operationCode byte
parameters object>.Dictionary
sendParameters SendParameters
return Task