All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zeroc.Ice.Instrumentation.Observer Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.9
//
// 
//
// Generated from file `Instrumentation.ice'
//
// Warning: do not edit this file.
//
// 
//

package com.zeroc.Ice.Instrumentation;

/**
 * The object observer interface used by instrumented objects to
 * notify the observer of their existence.
 **/
public interface Observer
{
    /**
     * This method is called when the instrumented object is created
     * or when the observer is attached to an existing object.
     **/
    void attach();

    /**
     * This method is called when the instrumented object is destroyed
     * and as a result the observer detached from the object.
     **/
    void detach();

    /**
     * Notification of a failure.
     * @param exceptionName The name of the exception.
     **/
    void failed(String exceptionName);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy