com.anabas.ibus
Class GMS_BytesMessageImpl

java.lang.Object
  |
  +--com.anabas.gxo.GMS_Message
        |
        +--com.anabas.gxo.GMS_BytesMessage
              |
              +--com.anabas.ibus.GMS_BytesMessageImpl

public class GMS_BytesMessageImpl
extends GMS_BytesMessage

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
 
Constructor Summary
GMS_BytesMessageImpl(javax.jms.BytesMessage msg)
           
 
Method Summary
 void clearBody()
           
 void clearProperties()
           
 long getBodyType()
           
 byte[] getBytes()
           
 GMS_MessageID getID()
          Uniquely identifies it from other messages within the system.
 javax.jms.Message getJMSMessage()
           
 long getMessageType()
          One of ADMINSTRATION, NORMAL, or ACK.
 long getPriority()
           
 java.lang.Object getProperty(java.lang.String name)
          Message property definition.
 java.util.Enumeration getPropertyNames()
           
 com.anabas.concepts.Time getTimeStamp()
           
 void setProperty(java.lang.String name, java.lang.Object property)
          Sets a message property.
 void writeByte(byte parm1)
           
 void writeBytes(byte[] parm1)
           
 void writeBytes(byte[] parm1, int parm2, int parm3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMS_BytesMessageImpl

public GMS_BytesMessageImpl(javax.jms.BytesMessage msg)
Method Detail

getJMSMessage

public javax.jms.Message getJMSMessage()

writeByte

public void writeByte(byte parm1)
               throws GXO_Exception
Overrides:
writeByte in class GMS_BytesMessage

writeBytes

public void writeBytes(byte[] parm1)
                throws GXO_Exception
Overrides:
writeBytes in class GMS_BytesMessage

writeBytes

public void writeBytes(byte[] parm1,
                       int parm2,
                       int parm3)
                throws GXO_Exception
Overrides:
writeBytes in class GMS_BytesMessage

getBytes

public byte[] getBytes()
                throws GXO_Exception
Overrides:
getBytes in class GMS_BytesMessage

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

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

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

clearProperties

public void clearProperties()
                     throws GXO_Exception
Overrides:
clearProperties in class GMS_Message