jrun.jms.core.messagemgr
Interface InternalMessageListener

All Known Implementing Classes:
JmsServerSession

public interface InternalMessageListener

This is the server side implementation of a message listener

Version:
$Revision: 1.1 $ $Date: 2001/09/18 10:55:08 $
Author:
Jim Alateras

Method Summary
 void onMessage(MessageHandle message, boolean ack)
          Send the specified message to the client.
 void onMessages(java.util.Vector messages)
          Send the specified collection of messages to the client
 

Method Detail

onMessage

public void onMessage(MessageHandle message,
                      boolean ack)
Send the specified message to the client. If the ack paramter is set then comply to the acking policy of the session. If this parameter is not set then ignore the acking policy. The later mode is used by the queue browser, when it sends messages
Parameters:
message - - message handle
ack - - false ignores the acking policy

onMessages

public void onMessages(java.util.Vector messages)
Send the specified collection of messages to the client
Parameters:
messages - - collection of MessageHandle objects


Copyright � 2002 Macromedia Corporation. All Rights Reserved.