org.objectweb.joram.mom.notifications

Class BrowseReply

Implemented Interfaces:
Cloneable, Serializable

public class BrowseReply
extends AbstractReply

A BrowseReply instance is used by a queue for replying to a client BrowseRequest by sending a vector of its messages.

Field Summary

Fields inherited from class fr.dyade.aaa.agent.Notification

persistent

Constructor Summary

BrowseReply(BrowseRequest req)
Constructs a BrowseReply instance.

Method Summary

void
addMessage(Message msg)
Adds a message.
Vector
getMessages()
Returns the messages carried by this reply.

Methods inherited from class org.objectweb.joram.mom.notifications.AbstractReply

getCorrelationId, toString

Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification

getClientContext, toString

Methods inherited from class fr.dyade.aaa.agent.Notification

clone, getContext, setContext, toString

Constructor Details

BrowseReply

public BrowseReply(BrowseRequest req)
Constructs a BrowseReply instance.

Parameters:
req - The BrowseRequest actually replied.

Method Details

addMessage

public void addMessage(Message msg)
Adds a message.


getMessages

public Vector getMessages()
Returns the messages carried by this reply.


Copyright B) 2004 Scalagent - All rights reserved