Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::AsyncLoggerAdmin Class Referenceabstract

Provides remote access to the log messages of a communicator's logger. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::AsyncLoggerAdmin:

Public Types

using ProxyType = LoggerAdminPrx
 The associated proxy type.

Public Member Functions

virtual void attachRemoteLoggerAsync (std::optional< RemoteLoggerPrx > prx, LogMessageTypeSeq messageTypes, StringSeq traceCategories, std::int32_t messageMax, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Attaches a Ice::RemoteLoggerPrx object to the local logger, then calls Ice::RemoteLoggerPrx::init on prx.
virtual void detachRemoteLoggerAsync (std::optional< RemoteLoggerPrx > prx, std::function< void(bool returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Detaches a Ice::RemoteLoggerPrx object from the local logger.
void dispatch (IncomingRequest &request, std::function< void(OutgoingResponse)> sendResponse) override
 Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request.
virtual void getLogAsync (LogMessageTypeSeq messageTypes, StringSeq traceCategories, std::int32_t messageMax, std::function< void(const LogMessageSeq &returnValue, std::string_view prefix)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Retrieves the most recent log messages cached by this facet, oldest first.
std::string ice_id (const Ice::Current &current) const override
 Gets the type ID of the most-derived Slice interface supported by this object.
std::vector< std::string > ice_ids (const Ice::Current &current) const override
 Gets the Slice interfaces supported by this object as a list of Slice type IDs.
Public Member Functions inherited from Ice::Object
 Object () noexcept=default
 Default constructor.
 Object (const Object &)=delete
 Object (Object &&)=delete
virtual bool ice_isA (std::string typeId, const Current &current) const
 Tests whether this object supports a specific Slice interface.
virtual void ice_ping (const Current &current) const
 Tests whether this object can be reached.
Object & operator= (const Object &)=delete
Object & operator= (Object &&)=delete

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.
Static Public Member Functions inherited from Ice::Object
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.

Detailed Description

Provides remote access to the log messages of a communicator's logger.

The Logger admin facet implements this interface. An Ice application attaches a RemoteLoggerPrx to receive these messages, or calls LoggerAdminPrx::getLog to retrieve the cached ones.

Remarks
The Slice compiler generated this skeleton class from Slice interface Ice::LoggerAdmin.

Definition at line 709 of file RemoteLogger.h.


The documentation for this class was generated from the following file: