public class CommunicatorObserverI extends java.lang.Object implements CommunicatorObserver
| Modifier and Type | Class and Description |
|---|---|
static class |
CommunicatorObserverI.ConnectionHelper |
static class |
CommunicatorObserverI.DispatchHelper |
static class |
CommunicatorObserverI.EndpointHelper |
static class |
CommunicatorObserverI.InvocationHelper |
static class |
CommunicatorObserverI.ThreadHelper |
serialVersionUID| Constructor and Description |
|---|
CommunicatorObserverI(InitializationData initData) |
| Modifier and Type | Method and Description |
|---|---|
Observer |
getConnectionEstablishmentObserver(Endpoint endpt,
java.lang.String connector)
This method should return an observer for the given endpoint
information and connector.
|
ConnectionObserver |
getConnectionObserver(ConnectionInfo c,
Endpoint e,
ConnectionState s,
ConnectionObserver observer)
This method should return a connection observer for the given
connection.
|
DispatchObserver |
getDispatchObserver(Current c,
int size)
This method should return a dispatch observer for the given
dispatch.
|
Observer |
getEndpointLookupObserver(Endpoint endpt)
This method should return an observer for the given endpoint
information.
|
MetricsAdminI |
getFacet() |
InvocationObserver |
getInvocationObserver(ObjectPrx prx,
java.lang.String operation,
java.util.Map<java.lang.String,java.lang.String> ctx)
This method should return an invocation observer for the given
invocation.
|
ThreadObserver |
getThreadObserver(java.lang.String parent,
java.lang.String id,
ThreadState s,
ThreadObserver observer)
This method should return a thread observer for the given
thread.
|
void |
setObserverUpdater(ObserverUpdater updater)
The Ice run-time calls this method when the communicator is
initialized.
|
public CommunicatorObserverI(InitializationData initData)
public Observer getConnectionEstablishmentObserver(Endpoint endpt, java.lang.String connector)
CommunicatorObservergetConnectionEstablishmentObserver in interface CommunicatorObserverendpt - The endpoint.connector - The description of the connector. For IP
transports, this is typically the IP address to connect to.public Observer getEndpointLookupObserver(Endpoint endpt)
CommunicatorObservergetEndpointLookupObserver in interface CommunicatorObserverendpt - The endpoint.public ConnectionObserver getConnectionObserver(ConnectionInfo c, Endpoint e, ConnectionState s, ConnectionObserver observer)
CommunicatorObserverObserverUpdater.updateConnectionObservers() is called.getConnectionObserver in interface CommunicatorObserverc - The connection information.e - The connection endpoint.s - The state of the connection.observer - The old connection observer if one is already set or a
null reference otherwise.public ThreadObserver getThreadObserver(java.lang.String parent, java.lang.String id, ThreadState s, ThreadObserver observer)
CommunicatorObserverObserverUpdater.updateThreadObservers() is called.getThreadObserver in interface CommunicatorObserverparent - The parent of the thread.id - The ID of the thread to observe.s - The state of the thread.observer - The old thread observer if one is already set or a
null reference otherwise.public InvocationObserver getInvocationObserver(ObjectPrx prx, java.lang.String operation, java.util.Map<java.lang.String,java.lang.String> ctx)
CommunicatorObservergetInvocationObserver in interface CommunicatorObserverprx - The proxy used for the invocation.operation - The name of the invocation.ctx - The context specified by the user.public DispatchObserver getDispatchObserver(Current c, int size)
CommunicatorObservergetDispatchObserver in interface CommunicatorObserverc - The current object as provided to the Ice servant
dispatching the invocation.size - The size of the dispatch.public void setObserverUpdater(ObserverUpdater updater)
CommunicatorObserversetObserverUpdater in interface CommunicatorObserverupdater - The observer updater object.public MetricsAdminI getFacet()