Ice 3.7 Slice API Reference
Interfaces | Enumerations
Ice::Instrumentation Module Reference

The Instrumentation local interfaces enable observing a number of Ice core internal components (threads, connections, etc). More...

["objc:prefix:ICEINSTRUMENTATION"]
module Instrumentation { ... }

Interfaces

local interface  ChildInvocationObserver
 The child invocation observer to instrument remote or collocated invocations. More...
 
local interface  CollocatedObserver
 The collocated observer to instrument invocations that are collocated. More...
 
local interface  CommunicatorObserver
 The communicator observer interface used by the Ice run-time to obtain and update observers for its observable objects. More...
 
local interface  ConnectionObserver
 The connection observer interface to instrument Ice connections. More...
 
local interface  DispatchObserver
 The dispatch observer to instrument servant dispatch. More...
 
local interface  InvocationObserver
 The invocation observer to instrument invocations on proxies. More...
 
local interface  Observer
 The object observer interface used by instrumented objects to notify the observer of their existence. More...
 
local interface  ObserverUpdater
 The observer updater interface. More...
 
local interface  RemoteObserver
 The remote observer to instrument invocations that are sent over the wire. More...
 
local interface  ThreadObserver
 The thread observer interface to instrument Ice threads. More...
 

Enumerations

local enum  ConnectionState {
  ConnectionStateValidating, ConnectionStateHolding, ConnectionStateActive, ConnectionStateClosing,
  ConnectionStateClosed
}
 The state of an Ice connection. More...
 
local enum  ThreadState { ThreadStateIdle, ThreadStateInUseForIO, ThreadStateInUseForUser, ThreadStateInUseForOther }
 The thread state enumeration keeps track of the different possible states of Ice threads. More...
 

Detailed Description

The Instrumentation local interfaces enable observing a number of Ice core internal components (threads, connections, etc).

Enumeration Type Documentation

◆ ConnectionState

local enum ConnectionState

The state of an Ice connection.

Enumerator
ConnectionStateValidating 

The connection is being validated.

ConnectionStateHolding 

The connection is holding the reception of new messages.

ConnectionStateActive 

The connection is active and can send and receive messages.

ConnectionStateClosing 

The connection is being gracefully shutdown and waits for the peer to close its end of the connection.

ConnectionStateClosed 

The connection is closed and waits for potential dispatch to be finished before being destroyed and detached from the observer.

◆ ThreadState

local enum ThreadState

The thread state enumeration keeps track of the different possible states of Ice threads.

Enumerator
ThreadStateIdle 

The thread is idle.

ThreadStateInUseForIO 

The thread is in use performing reads or writes for Ice connections.

This state is only for threads from an Ice thread pool.

ThreadStateInUseForUser 

The thread is calling user code (servant implementation, AMI callbacks).

This state is only for threads from an Ice thread pool.

ThreadStateInUseForOther 

The thread is performing other internal activities (DNS lookups, timer callbacks, etc).