| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/WebSocketNetDriver.h |
Include |
#include "WebSocketNetDriver.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient, Config=Engine)
class UWebSocketNetDriver : public UNetDriver
Name | Description | ||
---|---|---|---|
|
WebSocketPort |
WebSocket server port |
|
|
WebSocketServer |
Name | Description | |
---|---|---|
|
UWebSocketNetDriver ( |
Name | Description | ||
---|---|---|---|
|
UWebSocketCo... |
GetServerConnection() |
|
|
HandleSocketsCommand ( |
Exec command handlers |
|
|
OnWebSocketClientConnected |
Callback Function for New Connection from a client is accepted by this server |
|
|
OnWebSocketServerConnected() |
Callback Function for when this client Connects to the server |
Name | Description | ||
---|---|---|---|
|
ISocketSubsy... |
GetSocketSubsystem() |
Stub implementation because for websockets we don't use any underlying socket sub system. |
|
InitBase ( |
Common initialization between server and client connection setup |
|
|
InitConnect ( |
Initialize the net driver in client mode |
|
|
InitListen ( |
Initialize the network driver in server mode (listener) |
|
|
IsAvailable() |
Returns true if this net driver is valid for the current configuration. |
|
|
IsNetResourceValid() |
||
|
LowLevelDestroy() |
Close socket and Free the memory the OS allocated for this socket |
|
|
LowLevelGetNetworkNumber() |
||
|
LowLevelSend ( |
Sends a 'connectionless' (not associated with a UNetConection) packet, to the specified address. |
|
|
TickDispatch ( |
Handle time update: read and process packets |
Name | Description | ||
---|---|---|---|
|
Exec ( |
Handle exec commands |