UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StompMessage.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "StompFrame.h"
7
8#if WITH_STOMP
9
10#include "IStompMessage.h"
11
12class FStompClient;
13class FStompFrame;
14
15class FStompMessage
16 : public IStompMessage
17{
18public:
19
20 virtual ~FStompMessage()
21 { }
22
23 virtual void Ack(const FStompHeader& Header=FStompHeader(), const FStompRequestCompleted& CompletionCallback = FStompRequestCompleted()) const override;
24 virtual void Nack(const FStompHeader& Header=FStompHeader(), const FStompRequestCompleted& CompletionCallback = FStompRequestCompleted()) const override;
25
26 virtual const FStompHeader& GetHeader() const override;
27 virtual FString GetBodyAsString() const override;
28 virtual const uint8* GetRawBody() const override;
29 virtual SIZE_T GetRawBodyLength() const override;
30
31 virtual FStompSubscriptionId GetSubscriptionId() const override;
32 virtual FString GetDestination() const override;
33 virtual FString GetMessageId() const override;
34 virtual FString GetAckId() const override;
35
36private:
39 , Frame(InFrame)
40 { }
41
44 friend class FStompClient;
45
46};
47
48#endif
FPlatformTypes::SIZE_T SIZE_T
An unsigned integer the same size as a pointer, the same as UPTRINT.
Definition Platform.h:1150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
TMap< FName, FString > FStompHeader
Definition IStompClient.h:9
FString FStompSubscriptionId
Definition IStompClient.h:8
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition SharedPointer.h:153
Definition SharedPointer.h:1295