EMA C++ Edition
OmmConsumerRestLoggingEvent.h
Go to the documentation of this file.
1/*|-----------------------------------------------------------------------------
2 *| This source code is provided under the Apache 2.0 license
3 *| and is provided AS IS with no warranty or guarantee of fit for purpose.
4 *| See the project's LICENSE.md for details.
5 *| Copyright (C) 2021 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#pragma once
10
11#ifndef __refinitiv_ema_access_OmmConsumerRestLoggingEvent_h
12#define __refinitiv_ema_access_OmmConsumerRestLoggingEvent_h
13
28#include "Common.h"
29#include "EmaString.h"
30
31namespace refinitiv {
32
33namespace ema {
34
35namespace access {
36
38{
39public:
40
42
43
47
52 void* getClosure() const;
54
55private:
56
57 friend class OmmBaseImpl;
58
59 EmaString _logRestMessage;
60 void* _pRestLoggingClosure;
61
62 OmmConsumerRestLoggingEvent( const char* str, refinitiv::ema::access::UInt32 length, void* closure );
64
67};
68
69}
70
71}
72
73}
74
75#endif // __refinitiv_ema_access_OmmConsumerRestLoggingEvent_h
Common.h file provides definitions of common variable types used in EMA.
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
unsigned int UInt32
represents 32-bit unsigned integer
Definition: Common.h:56
The access namespace contains all interfaces and definitions specified for use with the EMA Access pa...
The ema namespace contains all interfaces and definitions specified for use with EMA.
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:57
OmmConsumerRestLoggingEvent encapsulates Reactor REST logging message.