Ice.Instrumentation.InvocationObserver Maven / Gradle / Ivy
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.4
//
//
//
// Generated from file `Instrumentation.ice'
//
// Warning: do not edit this file.
//
//
//
package Ice.Instrumentation;
/**
* 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.
*
**/
public interface InvocationObserver extends Observer
{
/**
* Notification of the invocation being retried.
*
**/
void retried();
/**
* Notification of a user exception.
*
**/
void userException();
/**
* Get a remote observer for this invocation.
*
* @param con The connection information.
*
* @param endpt The connection endpoint.
*
* @param requestId The ID of the invocation.
*
* @param size The size of the invocation.
*
* @return The observer to instrument the remote invocation.
*
**/
RemoteObserver getRemoteObserver(Ice.ConnectionInfo con, Ice.Endpoint endpt, int requestId, int size);
/**
* Get a collocated observer for this invocation.
*
* @param adapter The object adapter hosting the collocated Ice object.
*
* @param requestId The ID of the invocation.
*
* @param size The size of the invocation.
*
* @return The observer to instrument the collocated invocation.
*
**/
CollocatedObserver getCollocatedObserver(Ice.ObjectAdapter adapter, int requestId, int size);
public static final long serialVersionUID = 1004905065548380317L;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy