Iterates over an IceGrid log file. More...
#include <IceGrid/IceGrid.h>
Public Member Functions | |
FileIteratorPrx (const FileIteratorPrx &other) noexcept | |
Copy constructor. | |
FileIteratorPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
FileIteratorPrx (FileIteratorPrx &&other) noexcept | |
Move constructor. | |
void | destroy (const Ice::Context &context=Ice::noExplicitContext) const |
Destroys the iterator. | |
std::future< void > | destroyAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Destroys the iterator. | |
std::function< void()> | destroyAsync (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 |
Destroys the iterator. | |
FileIteratorPrx & | operator= (const FileIteratorPrx &rhs) noexcept |
Copy assignment operator. | |
FileIteratorPrx & | operator= (FileIteratorPrx &&rhs) noexcept |
Move assignment operator. | |
bool | read (std::int32_t size, ::Ice::StringSeq &lines, const Ice::Context &context=Ice::noExplicitContext) const |
Read lines from the log file. | |
std::future< std::tuple< bool, ::Ice::StringSeq > > | readAsync (std::int32_t size, const Ice::Context &context=Ice::noExplicitContext) const |
Read lines from the log file. | |
std::function< void()> | readAsync (std::int32_t size, std::function< void(bool, ::Ice::StringSeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Read lines from the log file. | |
Public Member Functions inherited from Ice::Proxy< FileIteratorPrx, Ice::ObjectPrx > | |
FileIteratorPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
FileIteratorPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
FileIteratorPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
FileIteratorPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
FileIteratorPrx | 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. | |
FileIteratorPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
FileIteratorPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
FileIteratorPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
FileIteratorPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
FileIteratorPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
FileIteratorPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
FileIteratorPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
FileIteratorPrx | 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. | |
FileIteratorPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
FileIteratorPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
FileIteratorPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
FileIteratorPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
FileIteratorPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
FileIteratorPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const FileIteratorPrx * | 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. |