Interface InvocationObserver

All Superinterfaces:
Observer

public interface InvocationObserver extends Observer
The invocation observer to instrument invocations on proxies. A proxy invocation can either result in a collocated or remote invocation. If it results in a remote invocation, a sub-observer is requested for the remote invocation.
  • Method Details

    • retried

      void retried()
      Notification of the invocation being retried.
    • userException

      void userException()
      Notification of a user exception.
    • getRemoteObserver

      RemoteObserver getRemoteObserver(ConnectionInfo con, Endpoint endpt, int requestId, int size)
      Get a remote observer for this invocation.
      Parameters:
      con - The connection information.
      endpt - The connection endpoint.
      requestId - The ID of the invocation.
      size - The size of the invocation.
      Returns:
      The observer to instrument the remote invocation.
    • getCollocatedObserver

      CollocatedObserver getCollocatedObserver(ObjectAdapter adapter, int requestId, int size)
      Get a collocated observer for this invocation.
      Parameters:
      adapter - The object adapter hosting the collocated Ice object.
      requestId - The ID of the invocation.
      size - The size of the invocation.
      Returns:
      The observer to instrument the collocated invocation.