Navigation
API > API/Plugins > API/Plugins/OSC
Inheritance Hierarchy
- IServerProxy
- IOSCServerProxy
References
| Module | OSC |
| Header | /Engine/Plugins/Runtime/OSC/Source/OSC/Public/OSCServer.h |
| Include | #include "OSCServer.h" |
Syntax
class IServerProxy
Remarks
Interface for internal networking implementation. See UOSCServer for details
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddClientEndpointToAllowList
(
const FIPv4Endpoint& InIPv4Endpoint |
Adds the given endpoint to the client allow list. | |
| void | AddClientToAllowList
(
const FString& InIPAddress |
||
| bool | CanProcessPacket
(
TSharedRef< UE::OSC::IPacket > Packet |
Returns whether or not packet can be processed, i.e. is valid and allowlisted. | |
| void | |||
| void | Empties the given address to the client allow list. | ||
| TSharedPtr< IServerProxy > | Create () |
Creates a new server proxy that can be used by any system where the provided dispatch callback is called on a worker thread. | |
| TSet< FString > | |||
| const TSet< FIPv4Endpoint > & | Returns Client Address allow list if it is enabled, else returns nullptr. | ||
| FString | Returns debug description of server proxy. | ||
| FString | GetIpAddress () |
||
| const FIPv4Endpoint & | |||
| bool | Returns whether or not loopback is enabled. | ||
| int32 | GetPort () |
||
| bool | IsActive () |
Returns whether or not the server is currently active (listening) | |
| void | Listen
(
const FString& ServerName |
Starts the server, causing it to actively listen and dispatch OSC messages. | |
| void | RemoveClientEndpointFromAllowList
(
const FIPv4Endpoint& InIPv4Endpoint |
Removes the given endpoint from the client allow list. | |
| void | RemoveClientFromAllowList
(
const FString& IPAddress |
||
| bool | SetAddress
(
const FString& InReceiveIPAddress, |
||
| void | SetFilterClientsByAllowList
(
bool bEnabled |
Sets whether or not allow list is active. | |
| bool | SetIPEndpoint
(
const FIPv4Endpoint& InEndpoint |
Sets the current server's endpoint. | |
| bool | SetMulticastLoopback
(
bool bInMulticastLoopback |
Sets whether or not loopback is enabled. | |
| void | SetOnDispatchPacket
(
TSharedPtr< FOnDispatchPacket > OnDispatch |
Sets dispatch function to be called when OSC packet is received (thread safe and can be mutated while server is running) | |
| void | SetTickableInEditor
(
bool bInTickInEditor |
||
| void | Stop () |
Stops the server. |
Typedefs
| Name | Description |
|---|---|
| FOnDispatchPacket |