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

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

#include <Ice/Ice.h>

Inheritance diagram for Ice::LoggerAdminPrx:

Public Member Functions

 LoggerAdminPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 LoggerAdminPrx (const LoggerAdminPrx &other) noexcept
 Copy constructor.
 LoggerAdminPrx (LoggerAdminPrx &&other) noexcept
 Move constructor.
void attachRemoteLogger (const std::optional< RemoteLoggerPrx > &prx, const LogMessageTypeSeq &messageTypes, const StringSeq &traceCategories, std::int32_t messageMax, const Ice::Context &context=Ice::noExplicitContext) const
 Attaches a Ice::RemoteLoggerPrx object to the local logger, then calls Ice::RemoteLoggerPrx::init on prx.
std::future< void > attachRemoteLoggerAsync (const std::optional< RemoteLoggerPrx > &prx, const LogMessageTypeSeq &messageTypes, const StringSeq &traceCategories, std::int32_t messageMax, const Ice::Context &context=Ice::noExplicitContext) const
 Attaches a Ice::RemoteLoggerPrx object to the local logger, then calls Ice::RemoteLoggerPrx::init on prx.
std::function< void()> attachRemoteLoggerAsync (const std::optional< RemoteLoggerPrx > &prx, const LogMessageTypeSeq &messageTypes, const StringSeq &traceCategories, std::int32_t messageMax, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Attaches a Ice::RemoteLoggerPrx object to the local logger, then calls Ice::RemoteLoggerPrx::init on prx.
bool detachRemoteLogger (const std::optional< RemoteLoggerPrx > &prx, const Ice::Context &context=Ice::noExplicitContext) const
 Detaches a Ice::RemoteLoggerPrx object from the local logger.
std::future< bool > detachRemoteLoggerAsync (const std::optional< RemoteLoggerPrx > &prx, const Ice::Context &context=Ice::noExplicitContext) const
 Detaches a Ice::RemoteLoggerPrx object from the local logger.
std::function< void()> detachRemoteLoggerAsync (const std::optional< RemoteLoggerPrx > &prx, std::function< void(bool)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Detaches a Ice::RemoteLoggerPrx object from the local logger.
LogMessageSeq getLog (const LogMessageTypeSeq &messageTypes, const StringSeq &traceCategories, std::int32_t messageMax, std::string &prefix, const Ice::Context &context=Ice::noExplicitContext) const
 Retrieves the most recent log messages cached by this facet, oldest first.
std::future< std::tuple< LogMessageSeq, std::string > > getLogAsync (const LogMessageTypeSeq &messageTypes, const StringSeq &traceCategories, std::int32_t messageMax, const Ice::Context &context=Ice::noExplicitContext) const
 Retrieves the most recent log messages cached by this facet, oldest first.
std::function< void()> getLogAsync (const LogMessageTypeSeq &messageTypes, const StringSeq &traceCategories, std::int32_t messageMax, std::function< void(::Ice::LogMessageSeq, std::string)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Retrieves the most recent log messages cached by this facet, oldest first.
LoggerAdminPrx & operator= (const LoggerAdminPrx &rhs) noexcept
 Copy assignment operator.
LoggerAdminPrx & operator= (LoggerAdminPrx &&rhs) noexcept
 Move assignment operator.
Public Member Functions inherited from Ice::Proxy< LoggerAdminPrx, Ice::ObjectPrx >
LoggerAdminPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
LoggerAdminPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
LoggerAdminPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
LoggerAdminPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
LoggerAdminPrx ice_compress (bool b) const
 Creates a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints.
LoggerAdminPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
LoggerAdminPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
LoggerAdminPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
LoggerAdminPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
LoggerAdminPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
LoggerAdminPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
LoggerAdminPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
LoggerAdminPrx ice_fixed (ConnectionPtr connection) const
 Creates a proxy that is identical to this proxy, except it's a fixed proxy bound to the given connection.
LoggerAdminPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
LoggerAdminPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
LoggerAdminPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
LoggerAdminPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
LoggerAdminPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
LoggerAdminPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const LoggerAdminPrx * operator-> () const noexcept
 The arrow operator.

Static Public Member Functions

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 proxy class from Slice interface Ice::LoggerAdmin.

Definition at line 231 of file RemoteLogger.h.


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