public interface _CommunicatorObserverOperationsNC
| 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 o)
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.
|
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 o)
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.
|
Observer getConnectionEstablishmentObserver(Endpoint endpt, java.lang.String connector)
endpt - The endpoint.connector - The description of the connector. For IP
transports, this is typically the IP address to connect to.Observer getEndpointLookupObserver(Endpoint endpt)
endpt - The endpoint.ConnectionObserver getConnectionObserver(ConnectionInfo c, Endpoint e, ConnectionState s, ConnectionObserver o)
ObserverUpdater.updateConnectionObservers() is called.c - The connection information.e - The connection endpoint.s - The state of the connection.o - The old connection observer if one is already set or a
null reference otherwise.ThreadObserver getThreadObserver(java.lang.String parent, java.lang.String id, ThreadState s, ThreadObserver o)
ObserverUpdater.updateThreadObservers() is called.parent - The parent of the thread.id - The ID of the thread to observe.s - The state of the thread.o - The old thread observer if one is already set or a
null reference otherwise.InvocationObserver getInvocationObserver(ObjectPrx prx, java.lang.String operation, java.util.Map<java.lang.String,java.lang.String> ctx)
prx - The proxy used for the invocation.operation - The name of the invocation.ctx - The context specified by the user.DispatchObserver getDispatchObserver(Current c, int size)
c - The current object as provided to the Ice servant
dispatching the invocation.size - The size of the dispatch.void setObserverUpdater(ObserverUpdater updater)
updater - The observer updater object.