Navigation
API > API/Runtime > API/Runtime/Stomp
References
| Module | Stomp |
| Header | /Engine/Source/Runtime/Online/Stomp/Public/IStompClient.h |
| Include | #include "IStompClient.h" |
Syntax
class IStompClient
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Connect
(
const FStompHeader& Header |
Initiate a client connection to the server. | |
| void | Disconnect
(
const FStompHeader& Header |
Disconnect from the server. | |
| bool | IsConnected () |
Inquire if this instance is connected to a server. | |
| FStompClientClosedEvent & | OnClosed () |
||
| FStompClientConnectedEvent & | OnConnected () |
||
| FStompClientConnectionErrorEvent & | |||
| FStompClientErrorEvent & | OnError () |
||
| void | Send
(
const FString& Destination, |
||
| void | Send
(
const FString& Destination, |
||
| void | Send
(
const FString& Destination, |
Emit an event to a destination | |
| void | Send
(
const FString& Destination, |
Emit an event to a destination | |
| FStompSubscriptionId | Subscribe
(
const FString& Destination, |
Subscribe to an event | |
| void | Unsubscribe
(
FStompSubscriptionId Subscription, |
Unsubscribe from an event |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FStompClientClosedEvent | Delegate called when a connection has been closed. | ||
| FStompClientConnectedEvent | Delegate called when a connection been established successfully. | ||
| FStompClientConnectionErrorEvent | Delegate called when a connection could not be established. | ||
| FStompClientErrorEvent | Delegate called when an error is received from the server. |