org.exolab.jms.message
Class Priority
java.lang.Object
|
+--org.exolab.jms.message.Priority
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class Priority
- extends java.lang.Object
- implements java.io.Externalizable
Wrapper for JMSPriority
- Version:
- $Revision: 1.4 $ $Date: 2003/08/17 01:32:24 $
- Author:
- Jim Mourikis
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Priority
public Priority()
Priority
public Priority(int priority)
throws javax.jms.JMSException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
getPriority
public int getPriority()
isExpedited
public boolean isExpedited()
isGreater
public boolean isGreater(Priority toCompare)
isEqual
public boolean isEqual(Priority toCompare)
Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.