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

Represents the admin facet that allows an Ice application to attach its RemoteLoggerPrx to the local logger of an Ice communicator. 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.
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.
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.
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 recently logged log messages.
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 recently logged log messages.
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 recently logged log messages.
LoggerAdminPrxoperator= (const LoggerAdminPrx &rhs) noexcept
 Copy assignment operator.
LoggerAdminPrxoperator= (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 LoggerAdminPrxoperator-> () 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

Represents the admin facet that allows an Ice application to attach its RemoteLoggerPrx to the local logger of an Ice communicator.

Definition at line 179 of file RemoteLogger.h.


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