jrun.jms.core.client.rmi
Interface RemoteJmsMessageListenerIfc

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RmiJmsMessageListener, RmiJmsSessionStub

public interface RemoteJmsMessageListenerIfc
extends java.rmi.Remote

This is an RMI implementation of a RMI-based MessageListener. The message listener is used by the server to push down all related messages.

Version:
$Revision: 1.2 $ $Date: 2001/05/24 15:34:36 $ created by Jim Alateras

Method Summary
 void onMessage(javax.jms.Message message)
          This method is called back by the server whenever it has a message for this session
 void onMessages(java.util.Vector messages)
          This method is called back by the server whenever it has one or more messages for this session
 

Method Detail

onMessage

public void onMessage(javax.jms.Message message)
               throws java.rmi.RemoteException
This method is called back by the server whenever it has a message for this session
Parameters:
message -  
Throws:
java.rmi.RemoteException -  

onMessages

public void onMessages(java.util.Vector messages)
                throws java.rmi.RemoteException
This method is called back by the server whenever it has one or more messages for this session
Parameters:
messages - - vector of messages
Throws:
java.rmi.RemoteException -  


Copyright � 2002 Macromedia Corporation. All Rights Reserved.