ObjectAdapterI class

Inheritance

Constructors

ObjectAdapterI({required Instance instance, required String name})

Properties

communicator Communicator
Get the communicator this object adapter belongs to.
no setteroverride
connections List<ConnectionI>
Incoming connections
final
endpointList List<IPEndpoint>
final
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
instance Instance
final
isDeactivated bool
Check whether object adapter has been deactivated.
no setteroverride
name String
Get the name of this object adapter.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
servantMap Map<Identity, FacetMap>
final
serverSocket ServerSocket?
getter/setter pair
state State
getter/setter pair

Methods

activate() → void
Activate all endpoints that belong to this object adapter. After activation, the object adapter can dispatch requests received through its endpoints.
override
add(Object servant, Identity id) Object?
Add a servant to this object adapter's Active Servant Map. Note that one servant can implement several Ice objects by registering the servant with multiple identities. Adding a servant with an identity that is in the map already throws {@link AlreadyRegisteredException}.
override
addDefaultServant(Object servant, String category) → void
addFacet(Object servant, Identity id, String facet) Object?
Like {@link #add}, but with a facet. Calling add(servant, id) is equivalent to calling {@link #addFacet} with an empty facet.
override
addFacetWithUUID(Object servant, String facet) ObjectPrx?
addWithUUID(Object servant) ObjectPrx?
bind() Future<void>
deactivate() → void
Deactivate all endpoints that belong to this object adapter. After deactivation, the object adapter stops receiving requests through its endpoints. Object adapters that have been deactivated must not be reactivated again, and cannot be used otherwise. Attempts to use a deactivated object adapter raise {@link ObjectAdapterDeactivatedException} however, attempts to {@link #deactivate} an already deactivated object adapter are ignored and do nothing. Once deactivated, it is possible to destroy the adapter to clean up resources and then create and activate a new adapter with the same name.
override
destroy() → void
Destroys the object adapter and cleans up all resources held by the object adapter. If the object adapter has not yet been deactivated, destroy implicitly initiates the deactivation and waits for it to finish. Subsequent calls to destroy are ignored. Once destroy has returned, it is possible to create another object adapter with the same name.
override
hold() → void
Temporarily hold receiving and dispatching requests. The object adapter can be reactivated with the {@link #activate} operation.
override
initialize() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onConnectionClosed(dynamic socket) → void
toString() String
A string representation of this object.
inherited
waitForDeactivate() → void
Wait until the object adapter has deactivated. Calling {@link #deactivate} initiates object adapter deactivation, and {@link #waitForDeactivate} only returns when deactivation has been completed.
override
waitForHold() → void
Wait until the object adapter holds requests. Calling {@link #hold} initiates holding of requests, and {@link #waitForHold} only returns when holding of requests has been completed.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited