|
ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Classes | |
| interface | ISocketClientPeer |
| Interface representing a socket client peer, which is responsible for managing socket connections, sending events, and handling callbacks for various socket events. More... | |
| interface | ISocketPingPong |
| Interface that defines the service method for managing ping-pong operations over a socket connection. More... | |
| class | SocketClientPeer |
| Represents a client peer that manages socket connections, sends and receives operations, and handles various socket events such as connection, disconnection, and errors. Inherits from ClientPeer and implements ISocketClientPeer and IAfterAutoBind. More... | |
| class | SocketPingPong |
| Implements the ISocketPingPong interface to manage the ping-pong operations between the client and server over a socket connection. More... | |
Functions | |
| delegate void | OnConnected (int connectionId, string serverSessionId) |
| Delegate for handling events when a connection is successfully established. | |
| delegate void | OnDisconnected (DisconnectReason reason, string message) |
| Delegate for handling events when a disconnection occurs. | |
| delegate void | OnOperationEvent (OperationEvent operationEvent) |
| Delegate for handling incoming operation events. | |
| delegate void | OnError (System.Net.Sockets.SocketError error) |
| Delegate for handling socket errors. | |
| delegate void XmobiTea.ProtonNet.Client.Socket.OnConnected | ( | int | connectionId, |
| string | serverSessionId ) |
Delegate for handling events when a connection is successfully established.
| connectionId | The unique ID of the connection. |
| serverSessionId | The session ID provided by the server. |
| delegate void XmobiTea.ProtonNet.Client.Socket.OnDisconnected | ( | DisconnectReason | reason, |
| string | message ) |
Delegate for handling events when a disconnection occurs.
| reason | The reason for the disconnection. |
| message | A message describing the disconnection. |
| delegate void XmobiTea.ProtonNet.Client.Socket.OnError | ( | System.Net.Sockets.SocketError | error | ) |
Delegate for handling socket errors.
| error | The socket error encountered. |
| delegate void XmobiTea.ProtonNet.Client.Socket.OnOperationEvent | ( | OperationEvent | operationEvent | ) |
Delegate for handling incoming operation events.
| operationEvent | The operation event received. |