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

Ice.Dispatcher 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.
//

package Ice;

/**
 * You can control which thread receives operation invocations and AMI
 * callbacks by implementing the Dispatcher interface and
 * supplying an instance in InitializationData when
 * initializing a communicator.
 * 

* For example, you can use this dispatching facility to ensure that * all invocations and callbacks are dispatched in a GUI event loop * thread so that it is safe to invoke directly on GUI objects. **/ public interface Dispatcher { /** * Responsible for dispatching an invocation or AMI callback. * The method must eventually invoke run on the * supplied Runnable object. * * @param runnable The object encapsulating the invocation or * callback to be dispatched. * @param con The connection associated with the dispatch. **/ void dispatch(Runnable runnable, Ice.Connection con); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy