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

A server application managed by a locator implementation such as IceGrid hosts a Process object and registers a proxy to this object with the locator registry. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::ProcessPrx:

Public Member Functions

 ProcessPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 ProcessPrx (const ProcessPrx &other) noexcept
 Copy constructor.
 ProcessPrx (ProcessPrx &&other) noexcept
 Move constructor.
ProcessPrxoperator= (const ProcessPrx &rhs) noexcept
 Copy assignment operator.
ProcessPrxoperator= (ProcessPrx &&rhs) noexcept
 Move assignment operator.
void shutdown (const Ice::Context &context=Ice::noExplicitContext) const
 Initiates a graceful shutdown of the server application.
std::future< void > shutdownAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Initiates a graceful shutdown of the server application.
std::function< void()> shutdownAsync (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
 Initiates a graceful shutdown of the server application.
void writeMessage (std::string_view message, std::int32_t fd, const Ice::Context &context=Ice::noExplicitContext) const
 Writes a message on the server application's stdout or stderr.
std::future< void > writeMessageAsync (std::string_view message, std::int32_t fd, const Ice::Context &context=Ice::noExplicitContext) const
 Writes a message on the server application's stdout or stderr.
std::function< void()> writeMessageAsync (std::string_view message, std::int32_t fd, 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
 Writes a message on the server application's stdout or stderr.
Public Member Functions inherited from Ice::Proxy< ProcessPrx, Ice::ObjectPrx >
ProcessPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
ProcessPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
ProcessPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
ProcessPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
ProcessPrx 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.
ProcessPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
ProcessPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
ProcessPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
ProcessPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
ProcessPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
ProcessPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
ProcessPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
ProcessPrx 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.
ProcessPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
ProcessPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
ProcessPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
ProcessPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
ProcessPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
ProcessPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const ProcessPrxoperator-> () 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

A server application managed by a locator implementation such as IceGrid hosts a Process object and registers a proxy to this object with the locator registry.

See LocatorRegistryPrx::setServerProcessProxy.

Definition at line 32 of file Process.h.


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