|
| OutgoingMasterServerPeer (MasterServerConnectionBase masterServerConnection) |
|
void | UpdateServerState (FeedbackLevel workload, int peerCount, ServerState state) |
|
void | UpdateServerState () |
|
bool | 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) |
|
SendResult | InitializeEncryption () |
| Initializes the peer to receive and send encrypted operations. More...
|
|
SendResult | SendOperationRequest (OperationRequest operationRequest, SendParameters sendParameters) |
| Sends an operation request. More...
|
|
void | Initialize (InitRequest initRequest) |
|
override string | ToString () |
|
void | Disconnect () |
| Closes the connection. More...
|
|
void | AbortConnection () |
| Forces the connection to close immediately. Should only be used if "Disconnect" does not lead to a clean connection shutdown, e.g. in case of an overloaded connection. More...
|
|
void | Flush () |
| Flushes all pending data to the socket. More...
|
|
byte[] | InitializeEncryption (byte[] otherPartyPublicKey) |
| Initializes the peer to receive and send encrypted operations with EncryptionMethod.Sha256Pkcs7. More...
|
|
byte[] | InitializeEncryption (byte[] otherPartyPublicKey, EncryptionMethod mode) |
| Initializes the peer to receive and send encrypted operations. More...
|
|
SendResult | SendEvent (IEventData eventData, SendParameters sendParameters) |
| Sends an IEventData object to the client. More...
|
|
SendResult | SendMessage (object message, SendParameters sendParameters) |
|
SendResult | SendOperationResponse (OperationResponse operationResponse, SendParameters sendParameters) |
| Sends the operation response to the client. More...
|
|
void | GetStats (out int roundTripTime, out int roundTripTimeVariance, out int numFailures) |
|
void | SetDebugString (string message) |
|
int | GetLastTouch () |
|
void | SetPrivateCustomTypeCache (CustomTypeCache cache) |
| Sets private custom type cache. It is supposed to be used together with plugins. In other case Proptocol.TryRegisterCustomType should be used More...
|
|
void | Dispose () |
| Disposes the peer. More...
|
|
|
virtual void | HandleRegisterGameServerResponse (OperationResponse operationResponse) |
|
virtual void | OnRegisteredAtMaster (RegisterGameServerResponse registerResponse) |
|
override void | OnDisconnect (DisconnectReason reasonCode, string reasonDetail) |
| The connection was closed. More...
|
|
override void | OnEvent (IEventData eventData, SendParameters sendParameters) |
| Called when an EventData was received. More...
|
|
override void | OnOperationRequest (OperationRequest request, SendParameters sendParameters) |
| Incoming OperationRequests are handled here. This method is being enqueued on the PeerBase.RequestFiber. More...
|
|
override void | OnOperationResponse (OperationResponse operationResponse, SendParameters sendParameters) |
| Called when an OperationResponse was received. More...
|
|
void | Reconnect (IPAddress address) |
|
virtual void | Register () |
|
void | StartUpdateLoop () |
|
void | StopUpdateLoop () |
|
override void | OnConnectionEstablished (object responseObject) |
|
override void | OnConnectionFailed (int errorCode, string errorMessage) |
|
| OutboundS2SPeer (ApplicationBase application) |
|
| S2SPeerBase (InitResponse response) |
| Initializes a new instance of the S2SPeerBase class. More...
|
|
override void | OnReceive (byte[] data, SendParameters sendParameters) |
| Invoked if incoming data was received for the peer. More...
|
|
virtual void | OnInitializeEcryptionCompleted (short resultCode, string debugMessage) |
| Invoked if an initialize encryption request was completed. More...
|
|
void | Trace (bool enabled, object tag) |
|
virtual SendResult | SendData (byte[] data, SendParameters sendParameters) |
| Sends bytes to the client. More...
|
|
virtual void | Dispose (bool disposing) |
| Disposes the internal fibers. More...
|
|
virtual void | OnSendBufferEmpty () |
| The default behavior of OnSendBufferFull is to disconnect the client. If this behavior is changed (override) the inheritor can pause sending until OnSendBufferEmpty is called. More...
|
|
virtual void | OnUnexpectedDataReceived (byte[] data, string debugMessage) |
| This method is called if incoming data has an unexpected format. Per default this method disconnects the client. Override to change this behavior. More...
|
|