relay-dotnet
Public Member Functions | Protected Attributes | List of all members
RelayDotNet.SystemRelayWebSocketConnector Class Referenceabstract

Public Member Functions

 SystemRelayWebSocketConnector (Relay relay, string ip, int port, bool secure)
 
abstract void Start ()
 
void Dispose ()
 
async Task< bool > OnSystemOpen (WebSocket webSocket, string path, string clientIpAddress, int clientPort)
 
async Task< bool > OnSystemOpen (WebSocket webSocket, string id, string path, string clientIpAddress, int clientPort)
 
async void OnSystemClose (WebSocket webSocketConnection)
 
async void OnSystemMessage (WebSocket webSocketConnection, string message)
 

Protected Attributes

readonly string _ip
 
readonly int _port
 
readonly bool _secure
 

Constructor & Destructor Documentation

◆ SystemRelayWebSocketConnector()

RelayDotNet.SystemRelayWebSocketConnector.SystemRelayWebSocketConnector ( Relay  relay,
string  ip,
int  port,
bool  secure 
)
inline

Member Function Documentation

◆ Dispose()

void RelayDotNet.SystemRelayWebSocketConnector.Dispose ( )
inline

◆ OnSystemClose()

async void RelayDotNet.SystemRelayWebSocketConnector.OnSystemClose ( WebSocket  webSocketConnection)
inline

◆ OnSystemMessage()

async void RelayDotNet.SystemRelayWebSocketConnector.OnSystemMessage ( WebSocket  webSocketConnection,
string  message 
)
inline

◆ OnSystemOpen() [1/2]

async Task<bool> RelayDotNet.SystemRelayWebSocketConnector.OnSystemOpen ( WebSocket  webSocket,
string  id,
string  path,
string  clientIpAddress,
int  clientPort 
)
inline

◆ OnSystemOpen() [2/2]

async Task<bool> RelayDotNet.SystemRelayWebSocketConnector.OnSystemOpen ( WebSocket  webSocket,
string  path,
string  clientIpAddress,
int  clientPort 
)
inline

◆ Start()

abstract void RelayDotNet.SystemRelayWebSocketConnector.Start ( )
pure virtual

Member Data Documentation

◆ _ip

readonly string RelayDotNet.SystemRelayWebSocketConnector._ip
protected

◆ _port

readonly int RelayDotNet.SystemRelayWebSocketConnector._port
protected

◆ _secure

readonly bool RelayDotNet.SystemRelayWebSocketConnector._secure
protected

The documentation for this class was generated from the following file: