The base class for servants.
More...
#include <Ice/Ice.h>
Inherits IceUtil::Shared.
Inherited by Glacier2::IdentitySet [virtual], Glacier2::PermissionsVerifier [virtual], Glacier2::SSLPermissionsVerifier [virtual], Glacier2::SSLSessionManager [virtual], Glacier2::Session [virtual], Glacier2::SessionControl [virtual], Glacier2::SessionManager [virtual], Glacier2::StringSet [virtual], Ice::Blobject [virtual], Ice::BlobjectArray [virtual], Ice::BlobjectArrayAsync [virtual], Ice::BlobjectAsync [virtual], Ice::DispatchInterceptor [virtual], Ice::Locator [virtual], Ice::LocatorFinder [virtual], Ice::LocatorRegistry [virtual], Ice::LoggerAdmin [virtual], Ice::Process [virtual], Ice::PropertiesAdmin [virtual], Ice::RemoteLogger [virtual], Ice::Router [virtual], Ice::RouterFinder [virtual], IceBox::ServiceManager [virtual], IceBox::ServiceObserver [virtual], IceDiscovery::Lookup [virtual], IceDiscovery::LookupReply [virtual], IceGrid::AdapterObserver [virtual], IceGrid::Admin [virtual], IceGrid::ApplicationObserver [virtual], IceGrid::BoxedDistributionDescriptor [virtual], IceGrid::BoxedString [virtual], IceGrid::CommunicatorDescriptor [virtual], IceGrid::FileIterator [virtual], IceGrid::FileParser [virtual], IceGrid::LoadBalancingPolicy [virtual], IceGrid::NodeObserver [virtual], IceGrid::ObjectObserver [virtual], IceGrid::Query [virtual], IceGrid::Registry [virtual], IceGrid::RegistryObserver [virtual], IceGrid::UserAccountMapper [virtual], IceInternal::GCObject, IceLocatorDiscovery::Lookup [virtual], IceLocatorDiscovery::LookupReply [virtual], IceMX::Metrics [virtual], IceMX::MetricsAdmin [virtual], , IceStorm::Finder [virtual], and IceStorm::Topic [virtual].
|
| static const std::string & | ice_staticId () |
| | Obtains the Slice type ID of this type.
|
The base class for servants.
◆ Object()
◆ ~Object()
| virtual Ice::Object::~Object |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ ice_clone()
| virtual ObjectPtr Ice::Object::ice_clone |
( |
| ) |
const |
|
virtual |
Returns a shallow copy of the object.
- Returns
- The cloned object.
Reimplemented in IceGrid::AdaptiveLoadBalancingPolicy, IceGrid::BoxedDistributionDescriptor, IceGrid::BoxedString, IceGrid::CommunicatorDescriptor, IceGrid::IceBoxDescriptor, IceGrid::LoadBalancingPolicy, IceGrid::OrderedLoadBalancingPolicy, IceGrid::RandomLoadBalancingPolicy, IceGrid::RoundRobinLoadBalancingPolicy, IceGrid::ServerDescriptor, IceGrid::ServiceDescriptor, IceMX::ChildInvocationMetrics, IceMX::CollocatedMetrics, IceMX::ConnectionMetrics, IceMX::DispatchMetrics, IceMX::InvocationMetrics, IceMX::Metrics, IceMX::RemoteMetrics, IceMX::SessionMetrics, IceMX::SubscriberMetrics, IceMX::ThreadMetrics, and IceMX::TopicMetrics.
◆ ice_collectable()
| virtual void Ice::Object::ice_collectable |
( |
bool | b | ) |
|
|
virtual |
Determines whether this object, and by extension the graph of all objects reachable from this object, are eligible for garbage collection when all external references to the graph have been released.
- Parameters
-
| b | True if the object is eligible, false otherwise. |
◆ ice_dispatch()
Dispatches an invocation to a servant.
This method is used by dispatch interceptors to forward an invocation to a servant (or to another interceptor).
- Parameters
-
| request | The details of the invocation. |
| cb | The asynchronous callback object. |
- Returns
- True if the request completed synchronously, false if the request will be completed asynchronously.
- Exceptions
-
| UserException | A user exception that propagates out of this method will be marshaled as the result. |
◆ ice_getSlicedData()
Obtains the sliced data associated with this instance.
- Returns
- The sliced data if the value has a preserved-slice base class and has been sliced during unmarshaling of the value, nil otherwise.
Reimplemented in Ice::UnknownSlicedValue.
◆ ice_id()
◆ ice_ids()
◆ ice_isA()
Tests whether this object supports a specific Slice interface.
- Parameters
-
| s | The type ID of the Slice interface to test against. |
| current | The Current object for the invocation. |
- Returns
- True if this object has the interface specified by s or derives from the interface specified by s.
◆ ice_operationAttributes()
| virtual Int Ice::Object::ice_operationAttributes |
( |
const std::string & | operation | ) |
const |
|
virtual |
Returns the Freeze metadata attributes for an operation.
- Parameters
-
| operation | The name of the operation. |
- Returns
- The least significant bit indicates whether the operation is a read or write operation. If the bit is set, the operation is a write operation. The expression ice_operationAttributes("op") & 0x1 is true if the operation has a
["freeze:write"] metadata directive.
The second and third least significant bit indicate the transactional mode of the operation. The expression ice_operationAttributes("op") & 0x6 >> 1 indicates the transactional mode as follows:
- 0
["freeze:read:supports"]
- 1
["freeze:read:mandatory"] or ["freeze:write:mandatory"]
- 2
["freeze:read:required"] or ["freeze:write:required"]
- 3
["freeze:read:never"]
Refer to the Freeze manual for more information on the TransactionalEvictor.
◆ ice_ping()
Tests whether this object can be reached.
- Parameters
-
| current | The Current object for the invocation. |
◆ ice_postUnmarshal()
| virtual void Ice::Object::ice_postUnmarshal |
( |
| ) |
|
|
virtual |
The Ice run time invokes this method vafter unmarshaling an object's data members.
This allows a subclass to override this method in order to perform additional initialization.
◆ ice_preMarshal()
| virtual void Ice::Object::ice_preMarshal |
( |
| ) |
|
|
virtual |
The Ice run time invokes this method prior to marshaling an object's data members.
This allows a subclass to override this method in order to validate its data members.
◆ ice_staticId()
| const std::string & Ice::Object::ice_staticId |
( |
| ) |
|
|
static |
Obtains the Slice type ID of this type.
- Returns
- The return value is always "::Ice::Object".
◆ operator<()
| virtual bool Ice::Object::operator< |
( |
const Object & | | ) |
const |
|
virtual |
◆ operator==()
| virtual bool Ice::Object::operator== |
( |
const Object & | | ) |
const |
|
virtual |
The documentation for this class was generated from the following file: