com.anabas.ibus
Class GMS_ObjectMessageImpl
java.lang.Object
|
+--com.anabas.gxo.GMS_Message
|
+--com.anabas.gxo.GMS_ObjectMessage
|
+--com.anabas.ibus.GMS_ObjectMessageImpl
- public class GMS_ObjectMessageImpl
- extends GMS_ObjectMessage
Title:
Description:
Copyright: Copyright (c) 2000
Company:
Fields inherited from class com.anabas.gxo.GMS_Message |
BODYTYPE_BYTES,
BODYTYPE_MAP,
BODYTYPE_OBJECT,
BODYTYPE_TEXT,
BODYTYPE_XML,
MSGTYPE_ACK,
MSGTYPE_ADMINISTRATION,
MSGTYPE_MAJOR,
MSGTYPE_MINOR,
PRIORITY_LOW,
PRIORITY_NORMAL,
PRIORITY_REALTIME |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
GMS_ObjectMessageImpl
public GMS_ObjectMessageImpl(javax.jms.ObjectMessage msg)
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws GXO_Exception
- Description copied from class: GMS_Message
- Message property definition.
- Overrides:
- getProperty in class GMS_Message
getObject
public java.io.Serializable getObject()
throws GXO_Exception
- Overrides:
- getObject in class GMS_ObjectMessage
getTimeStamp
public com.anabas.concepts.Time getTimeStamp()
throws GXO_Exception
- Overrides:
- getTimeStamp in class GMS_Message
- Tags copied from class: GMS_Message
- Returns:
- The time stamp of when the message was sent within the global time
system.
setProperty
public void setProperty(java.lang.String name,
java.lang.Object property)
throws GXO_Exception
- Description copied from class: GMS_Message
- Sets a message property.
- Overrides:
- setProperty in class GMS_Message
- Tags copied from class: GMS_Message
- Throws:
- InvalidPropertyException - The property type or content is unsupported or incorrect.
getPriority
public long getPriority()
throws GXO_Exception
- Overrides:
- getPriority in class GMS_Message
- Tags copied from class: GMS_Message
- Returns:
- The priority of the message
getBodyType
public long getBodyType()
- Overrides:
- getBodyType in class GMS_Message
- Tags copied from class: GMS_Message
- Returns:
- One of the types defined as BODYTYPE_XXX
getID
public GMS_MessageID getID()
- Description copied from class: GMS_Message
- Uniquely identifies it from other messages within the system.
?? Should it be unique within the system?
- Overrides:
- getID in class GMS_Message
getPropertyNames
public java.util.Enumeration getPropertyNames()
throws GXO_Exception
- Overrides:
- getPropertyNames in class GMS_Message
setObject
public void setObject(java.io.Serializable parm1)
throws GXO_Exception
- Overrides:
- setObject in class GMS_ObjectMessage
clearBody
public void clearBody()
throws GXO_Exception
- Overrides:
- clearBody in class GMS_Message
getMessageType
public long getMessageType()
throws GXO_Exception
- Description copied from class: GMS_Message
- One of ADMINSTRATION, NORMAL, or ACK.
- Overrides:
- getMessageType in class GMS_Message
getJMSMessage
public javax.jms.Message getJMSMessage()
clearProperties
public void clearProperties()
throws GXO_Exception
- Overrides:
- clearProperties in class GMS_Message