org.exolab.core.ipc
Interface NotifierIfc


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:
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

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

void disconnection(java.lang.String id)
A client has disconnected. Notify the caller.

Parameters:
The - unique identifier of this connection.


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