Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.hermes.broker
Class MessageLogger.LoggedMessage  view MessageLogger.LoggedMessage download MessageLogger.LoggedMessage.java

java.lang.Object
  extended bycom.aendvari.hermes.broker.MessageLogger.LoggedMessage
Enclosing class:
MessageLogger

public class MessageLogger.LoggedMessage
extends java.lang.Object

Contains information on a single recorded Message.


Field Summary
protected  Message message
          The published message.
protected  java.util.ArrayList receivers
          The receivers of the message.
protected  java.lang.String topic
          The topic of the message.
 
Constructor Summary
protected MessageLogger.LoggedMessage(Message publishMessage)
          Creates a new LoggedMessage by copying information from the supplied Message.
 
Method Summary
 Message getMessage()
          Returns the Message that was published.
 java.util.Collection getReceivers()
          Returns the receivers of the published Message.
 java.lang.String getTopic()
          Returns the topic the message was published to.
 java.lang.String toString()
          Returns a string describing this LoggedMessage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

topic

protected java.lang.String topic
The topic of the message.


message

protected Message message
The published message.


receivers

protected java.util.ArrayList receivers
The receivers of the message.

Constructor Detail

MessageLogger.LoggedMessage

protected MessageLogger.LoggedMessage(Message publishMessage)
Creates a new LoggedMessage by copying information from the supplied Message.

Method Detail

getTopic

public java.lang.String getTopic()
Returns the topic the message was published to.


getMessage

public Message getMessage()
Returns the Message that was published.


getReceivers

public java.util.Collection getReceivers()
Returns the receivers of the published Message.


toString

public java.lang.String toString()
Returns a string describing this LoggedMessage.