Property | Type | Description | |
---|---|---|---|
Connections | List |
Method | Description | |
---|---|---|
Connector ( IServer server, string ip, int port ) : System | ||
Disconnect ( ) : void | ||
SendMessage ( IWebSocketConnection socket, string message ) : void | ||
SendPing ( ) : void | ||
Start ( ) : void |
Method | Description | |
---|---|---|
_socket_onClose ( IWebSocketConnection socket ) : void | ||
_socket_onMessage ( IWebSocketConnection socket, string message ) : void | ||
_socket_onOpen ( IWebSocketConnection socket ) : void | ||
_socket_onPing ( IWebSocketConnection socket, byte bytes ) : void |
public Connector ( IServer server, string ip, int port ) : System | ||
server | IServer | |
ip | string | |
port | int | |
return | System |
public SendMessage ( IWebSocketConnection socket, string message ) : void | ||
socket | IWebSocketConnection | |
message | string | |
return | void |