C# 클래스 PhotonWire.Server.ServerToServer.PhotonWireOutboundS2SPeer

상속: OutboundS2SPeer, IS2SPhotonWirePeer
파일 보기 프로젝트 열기: neuecc/PhotonWire 1 사용 예제들

공개 메소드들

메소드 설명
ConnectTcpAsync ( IPEndPoint remoteEndPoint, string applicationName, bool useMux = false, IRpcProtocol protocol = null ) : Task
ConnectTcpAsync ( IPEndPoint remoteEndPoint, string applicationName, object customInitObject, bool useMux = false, IRpcProtocol protocol = null ) : Task
PhotonWireOutboundS2SPeer ( Photon.SocketServer.ApplicationBase application ) : System
RegisterDisconnectAction ( string>.Action action ) : IDisposable
SendOperationRequestAsync ( byte operationCode, object>.Dictionary parameters, SendParameters sendParameters ) : Task

보호된 메소드들

메소드 설명
OnConnectionEstablished ( object responseObject ) : void
OnConnectionEstablishedCore ( object responseObject ) : void
OnConnectionFailed ( int errorCode, string errorMessage ) : void
OnConnectionFailedCore ( int errorCode, string errorMessage ) : void
OnDisconnect ( DisconnectReason reasonCode, string reasonDetail ) : void
OnEvent ( IEventData eventData, SendParameters sendParameters ) : void
OnOperationRequest ( OperationRequest operationRequest, SendParameters sendParameters ) : void
OnOperationResponse ( OperationResponse operationResponse, SendParameters sendParameters ) : void

비공개 메소드들

메소드 설명
ConnectTcp ( IPEndPoint remoteEndPoint, string applicationName, bool useMux = false, IRpcProtocol protocol = null ) : bool
ConnectTcp ( IPEndPoint remoteEndPoint, string applicationName, object customInitObject, bool useMux = false, IRpcProtocol protocol = null ) : bool
ConnectToServerUdp ( IPEndPoint remoteEndPoint, string applicationName, byte numChannels, short mtu ) : bool
ConnectToServerUdp ( IPEndPoint remoteEndPoint, string applicationName, object customInitObject, byte numChannels, short mtu ) : bool
ConnectToServerWebSocket ( IPEndPoint remoteEndPoint, string applicationName, WebSocketVersion webSocketVersion, IRpcProtocol protocol ) : bool
ConnectToServerWebSocket ( IPEndPoint remoteEndPoint, string applicationName, object customInitObject, WebSocketVersion webSocketVersion, IRpcProtocol protocol ) : bool
ConnectToServerWebSocketHixie76 ( IPEndPoint remoteEndPoint, string applicationName, object customInitObject, string origin ) : bool
ConnectToServerWebSocketHixie76 ( IPEndPoint remoteEndPoint, string applicationName, string origin ) : bool
IssueOperationResponseFuture ( int messageId ) : TaskCompletionSource
TryGetAndRemoveFuture ( int messageId, TaskCompletionSource &future ) : bool

메소드 상세

ConnectTcpAsync() 공개 메소드

public ConnectTcpAsync ( IPEndPoint remoteEndPoint, string applicationName, bool useMux = false, IRpcProtocol protocol = null ) : Task
remoteEndPoint System.Net.IPEndPoint
applicationName string
useMux bool
protocol IRpcProtocol
리턴 Task

ConnectTcpAsync() 공개 메소드

public ConnectTcpAsync ( IPEndPoint remoteEndPoint, string applicationName, object customInitObject, bool useMux = false, IRpcProtocol protocol = null ) : Task
remoteEndPoint System.Net.IPEndPoint
applicationName string
customInitObject object
useMux bool
protocol IRpcProtocol
리턴 Task

OnConnectionEstablished() 보호된 최종 메소드

protected final OnConnectionEstablished ( object responseObject ) : void
responseObject object
리턴 void

OnConnectionEstablishedCore() 보호된 메소드

protected OnConnectionEstablishedCore ( object responseObject ) : void
responseObject object
리턴 void

OnConnectionFailed() 보호된 최종 메소드

protected final OnConnectionFailed ( int errorCode, string errorMessage ) : void
errorCode int
errorMessage string
리턴 void

OnConnectionFailedCore() 보호된 메소드

protected OnConnectionFailedCore ( int errorCode, string errorMessage ) : void
errorCode int
errorMessage string
리턴 void

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

PhotonWireOutboundS2SPeer() 공개 메소드

public PhotonWireOutboundS2SPeer ( Photon.SocketServer.ApplicationBase application ) : System
application Photon.SocketServer.ApplicationBase
리턴 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