cgl.narada.jms
Class JmsEvent

java.lang.Object
  extended by cgl.narada.jms.JmsEvent
All Implemented Interfaces:
JmsDebugFlags

public class JmsEvent
extends Object
implements JmsDebugFlags

This is the class which ties up the topic, Message, deliveryMode, priority and timeToLive as a single entity


Field Summary
 
Fields inherited from interface cgl.narada.jms.JmsDebugFlags
JmsConnection_Debug, JmsDestination_Debug, JmsHeader_Debug, JmsLogger_Debug, JmsMessage_Debug, JmsObjectMessage_Debug, JmsProperties_Debug, JmsTextMessage_Debug, JmsTopic_Debug, JmsTopicAndSelectorVerifier_Debug, JmsTopicConnection_Debug, JmsTopicConnectionFactory_Debug, JmsTopicPublisher_Debug, JmsTopicSession_Debug, JmsTopicSubscriber_Debug
 
Constructor Summary
JmsEvent(byte[] jmsEventBytes)
           
JmsEvent(byte[] jmsEventBytes, boolean noPayloadReconstruct)
           
JmsEvent(String topic, Message message, int deliveryMode, int priority, long timeToLive)
           
 
Method Summary
 byte[] getBytes()
           
 byte[] getBytesWithoutPayloadReconstruct()
           
 int getDeliveryMode()
           
 Message getMessage()
           
 int getPriority()
           
 long getTimeToLive()
           
 String getTopic()
           
static void main(String[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmsEvent

public JmsEvent(String topic,
                Message message,
                int deliveryMode,
                int priority,
                long timeToLive)
         throws JMSException
Throws:
JMSException

JmsEvent

public JmsEvent(byte[] jmsEventBytes)

JmsEvent

public JmsEvent(byte[] jmsEventBytes,
                boolean noPayloadReconstruct)
Method Detail

getBytesWithoutPayloadReconstruct

public byte[] getBytesWithoutPayloadReconstruct()
                                         throws JMSException
Throws:
JMSException

getBytes

public byte[] getBytes()
                throws JMSException
Throws:
JMSException

getTopic

public String getTopic()

getMessage

public Message getMessage()

getDeliveryMode

public int getDeliveryMode()

getPriority

public int getPriority()

getTimeToLive

public long getTimeToLive()

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)


For comments and suggestions please send e-mail to The NaradaBrokering Project