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

Receives the log messages sent by the Logger admin facet of a communicator. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::RemoteLoggerPrx:

Public Member Functions

 RemoteLoggerPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 RemoteLoggerPrx (const RemoteLoggerPrx &other) noexcept
 Copy constructor.
 RemoteLoggerPrx (RemoteLoggerPrx &&other) noexcept
 Move constructor.
void init (std::string_view prefix, const LogMessageSeq &logMessages, const Ice::Context &context=Ice::noExplicitContext) const
 Initializes this remote logger with the prefix and the most recent log messages of the logger of the communicator that hosts the Logger admin facet.
std::future< void > initAsync (std::string_view prefix, const LogMessageSeq &logMessages, const Ice::Context &context=Ice::noExplicitContext) const
 Initializes this remote logger with the prefix and the most recent log messages of the logger of the communicator that hosts the Logger admin facet.
std::function< void()> initAsync (std::string_view prefix, const LogMessageSeq &logMessages, 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
 Initializes this remote logger with the prefix and the most recent log messages of the logger of the communicator that hosts the Logger admin facet.
void log (const LogMessage &message, const Ice::Context &context=Ice::noExplicitContext) const
 Receives a log message that matches the filters given to Ice::LoggerAdminPrx::attachRemoteLogger.
std::future< void > logAsync (const LogMessage &message, const Ice::Context &context=Ice::noExplicitContext) const
 Receives a log message that matches the filters given to Ice::LoggerAdminPrx::attachRemoteLogger.
std::function< void()> logAsync (const LogMessage &message, 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
 Receives a log message that matches the filters given to Ice::LoggerAdminPrx::attachRemoteLogger.
RemoteLoggerPrx & operator= (const RemoteLoggerPrx &rhs) noexcept
 Copy assignment operator.
RemoteLoggerPrx & operator= (RemoteLoggerPrx &&rhs) noexcept
 Move assignment operator.
Public Member Functions inherited from Ice::Proxy< RemoteLoggerPrx, Ice::ObjectPrx >
RemoteLoggerPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
RemoteLoggerPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
RemoteLoggerPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
RemoteLoggerPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
RemoteLoggerPrx 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.
RemoteLoggerPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
RemoteLoggerPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
RemoteLoggerPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
RemoteLoggerPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
RemoteLoggerPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
RemoteLoggerPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
RemoteLoggerPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
RemoteLoggerPrx 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.
RemoteLoggerPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
RemoteLoggerPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
RemoteLoggerPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
RemoteLoggerPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
RemoteLoggerPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
RemoteLoggerPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const RemoteLoggerPrx * 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

Receives the log messages sent by the Logger admin facet of a communicator.

Remarks
The Slice compiler generated this proxy class from Slice interface Ice::RemoteLogger.
See also
LoggerAdminPrx::attachRemoteLogger

Definition at line 73 of file RemoteLogger.h.


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