jrun.jms.core.kernel.ipc
Interface NotifierIfc

All Known Implementing Classes:
IpcJmsSessionConnection, IpcJmsReceiver, IpcJmsAdminConnection, IpcJmsServerConnection

public interface NotifierIfc

The client reference used to notifier the client of any incoming requests.

Version:
$Revision: 1.2 $ $Date: 2000/06/27 01:23:32 $
Author:
Jim Mourikis
See Also:
org.exolab.core.ipc.Notifier

Method Summary
 void disconnection(java.lang.String id)
          A client has disconnected.
 java.io.Serializable notify(java.lang.Object ob, java.lang.String id)
          A message has been received.
 

Method Detail

notify

public java.io.Serializable notify(java.lang.Object ob,
                                   java.lang.String id)
A message has been received. Notify the client and return back any requested data. Note: If a null is returned, no message will be sent back to the client. If the return value is non null the data is passed back to the client.
Parameters:
ob - The data received,
id - The connection id this data is received from
Returns:
Object Return any requested result. If null, nothing is sent back to the client.

disconnection

public void disconnection(java.lang.String id)
A client has disconnected. Notify the caller.
Parameters:
The - unique identifier of this connection.


Copyright � 2002 Macromedia Corporation. All Rights Reserved.