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

Represents an Ice object that accepts log messages. 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
 Attaches a remote logger to the local logger.
std::future< void > initAsync (std::string_view prefix, const LogMessageSeq &logMessages, const Ice::Context &context=Ice::noExplicitContext) const
 Attaches a remote logger to the local logger.
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
 Attaches a remote logger to the local logger.
void log (const LogMessage &message, const Ice::Context &context=Ice::noExplicitContext) const
 Logs a LogMessage.
std::future< void > logAsync (const LogMessage &message, const Ice::Context &context=Ice::noExplicitContext) const
 Logs a LogMessage.
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
 Logs a LogMessage.
RemoteLoggerPrxoperator= (const RemoteLoggerPrx &rhs) noexcept
 Copy assignment operator.
RemoteLoggerPrxoperator= (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 RemoteLoggerPrxoperator-> () 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 an Ice object that accepts log messages.

It's called by the implementation of LoggerAdminPrx.

Definition at line 64 of file RemoteLogger.h.


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