EMA C++ Edition
List of all members
refinitiv::ema::access::OmmConsumerRestLoggingEvent Class Reference

OmmConsumerRestLoggingEvent encapsulates Reactor REST logging message. More...

Accessors

class OmmBaseImpl
 
const EmaStringgetRestLoggingMessage () const
  More...
 
void * getClosure () const
  More...
 

Detailed Description

OmmConsumerRestLoggingEvent is used to convey Reactor REST logging message to application. OmmConsumerRestLoggingEvent is returned through OmmConsumerImpl::OmmBaseImpl callback method.

Remarks
OmmConsumerRestLoggingEvent is a read only class. This class is used for receiving REST logging message.
All methods in this class are Lock-free Method.
See also
OmmConsumerImpl, OmmConsumerConfig

Definition at line 37 of file OmmConsumerRestLoggingEvent.h.

Member Function Documentation

◆ getClosure()

void* refinitiv::ema::access::OmmConsumerRestLoggingEvent::getClosure ( ) const

Returns an identifier (a.k.a., closure) associated with a user callback client by consumer application. Application associates the closure with the user callback client on OmmConsumerConfig::restLoggingCallback( OmmRestLoggingClient& , void* closure ).

Returns
closure value.

◆ getRestLoggingMessage()

const EmaString& refinitiv::ema::access::OmmConsumerRestLoggingEvent::getRestLoggingMessage ( ) const

Returns received REST logging message for this event.

Returns
REST logging message for this event.