Method | Description | |
---|---|---|
ForwarderDevice ( Context context ) |
Initializes a new instance of the ForwarderDevice class that will run in a self-managed thread.
|
|
ForwarderDevice ( Context context, DeviceMode mode ) |
Initializes a new instance of the ForwarderDevice class.
|
|
ForwarderDevice ( Context context, string frontendBindAddr, string backendBindAddr ) |
Initializes a new instance of the ForwarderDevice class that will run in a self-managed thread.
|
|
ForwarderDevice ( Context context, string frontendBindAddr, string backendBindAddr, DeviceMode mode ) |
Initializes a new instance of the ForwarderDevice class.
|
Method | Description | |
---|---|---|
BackendHandler ( SocketEventArgs args ) : void |
Not implemented for the ForwarderDevice.
|
|
FrontendHandler ( SocketEventArgs args ) : void |
Forwards requests from the frontend socket to the backend socket.
|
protected BackendHandler ( SocketEventArgs args ) : void | ||
args | SocketEventArgs | A |
return | void |
public ForwarderDevice ( Context context ) | ||
context | Context | The |
public ForwarderDevice ( Context context, DeviceMode mode ) | ||
context | Context | The |
mode | DeviceMode | The |
public ForwarderDevice ( Context context, string frontendBindAddr, string backendBindAddr ) | ||
context | Context | The |
frontendBindAddr | string | The address used to bind the frontend socket. |
backendBindAddr | string | The endpoint used to bind the backend socket. |
public ForwarderDevice ( Context context, string frontendBindAddr, string backendBindAddr, DeviceMode mode ) | ||
context | Context | The |
frontendBindAddr | string | The address used to bind the frontend socket. |
backendBindAddr | string | The endpoint used to bind the backend socket. |
mode | DeviceMode | The |
protected FrontendHandler ( SocketEventArgs args ) : void | ||
args | SocketEventArgs | A |
return | void |