jrun.jms.core.server.mipc
Class IpcJmsReceiver

java.lang.Object
  |
  +--jrun.jms.core.server.mipc.IpcJmsReceiver
All Implemented Interfaces:
NotifierIfc

public class IpcJmsReceiver
extends java.lang.Object
implements NotifierIfc

The receiver class handles all Server Requests arriving at the IpcJmsServer. The request is partially unpacked, the handling object is instantiated, and the request passed on.

Version:
$Revision: 1.5 $ $Date: 2001/06/11 15:49:36 $
Author:
Jim Mourikis
See Also:
org.exolab.core.ipc.NotifierIfc, org.exolab.core.ipc.Notifier, org.exolab.jms.server.mipc.IpcJmsServer

Constructor Summary
IpcJmsReceiver()
           
 
Method Summary
 void disconnection(java.lang.String id)
          The connection has been broken.
 java.io.Serializable notify(java.lang.Object ob, java.lang.String id)
          A new request has been received.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IpcJmsReceiver

public IpcJmsReceiver()
Method Detail

notify

public java.io.Serializable notify(java.lang.Object ob,
                                   java.lang.String id)
A new request has been received. Carry out the request, and pass back any relevent data.
Specified by:
notify in interface NotifierIfc
Parameters:
ob - The data received,
The - unique identifier of this connection.
Returns:
Object Return any requested result. This must never be null.

disconnection

public void disconnection(java.lang.String id)
The connection has been broken.
Specified by:
disconnection in interface NotifierIfc
Parameters:
The - unique identifier of this connection.


Copyright � 2002 Macromedia Corporation. All Rights Reserved.