org.exolab.core.ipc
Class Notifier

java.lang.Object
  extended byorg.exolab.core.ipc.Notifier

public class Notifier
extends java.lang.Object

This class is given a new ipc connection and the clients callback handle. The object creates an internal thread which is used to exclusively monitor this ipc connection, and inform the client via the handle of incoming requests. If the client handle returns a non-null object, this is passed back down the ipc connection object.

Version:
$Revision: 1.3 $ $Date: 2000/06/27 01:23:32 $
Author:
Jim Mourikis
See Also:
TcpService, TcpServerService, NotifierIfc

Constructor Summary
Notifier(NotifierIfc client, IpcIfc ipc, java.util.HashMap pool)
          Construct the notifier with a reference to the client interested in receiving messages.
 
Method Summary
 void stop()
          Stop execution of this thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notifier

public Notifier(NotifierIfc client,
                IpcIfc ipc,
                java.util.HashMap pool)
Construct the notifier with a reference to the client interested in receiving messages. Create an internal thread, and begin listening to the ipc connection.

Parameters:
client - The receiving client.
ipc - The Ipc connection established.
Method Detail

stop

public void stop()
Stop execution of this thread. And close all ipc connections in use.



Copyright © 1999-2005 The Exolab Group. All Rights Reserved.