Ice.ThreadNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
// **********************************************************************
//
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
package Ice;
/**
* Interface for thread notification hooks. Applications can derive
* a class that implements the start
and stop
* methods to intercept creation and destruction of threads created
* by the Ice run time.
*
* @see InitializationData
**/
public interface ThreadNotification
{
/**
* The Ice run time calls start
for each new
* thread it creates. The call is made by the newly-started thread.
**/
void start();
/**
* The Ice run time calls stop
before it destroys
* a thread. The call is made by thread that is about to be
* destroyed.
**/
void stop();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy