raccoon.tibco.tibrv.message
Class RvMessage

java.lang.Object
  extended by com.tibco.tibrv.TibrvMsg
      extended by raccoon.tibco.tibrv.message.RvMessage
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, IBusMessage, IMessage

public class RvMessage
extends com.tibco.tibrv.TibrvMsg
implements IBusMessage

Implements the IBusMessage interface for TIB/Rendezvous

Since:
Raccoon v1.0
Version:
$Id:$
Author:
Cedric ROUVRAIS
See Also:
Serialized Form

Field Summary
static java.lang.String[] RESERVED_KEYWORDS
          The list of reserved keywords for TIB/Rendezvous messages.
 
Fields inherited from class com.tibco.tibrv.TibrvMsg
_defaultEncoding, BOOL, DATETIME, DEFAULT, DEFAULT_ENCODING, ENCRYPTED, F32, F32ARRAY, F64, F64ARRAY, I16, I16ARRAY, I32, I32ARRAY, I64, I64ARRAY, I8, I8ARRAY, INT, IPADDR32, IPDATA, IPPORT16, MSG, NONE, OPAQUE, REAL, RESERVED, STRING, SUBJECT, U16, U16ARRAY, U32, U32ARRAY, U64, U64ARRAY, U8, U8ARRAY, UINT, USER_FIRST, USER_LAST, XML
 
Constructor Summary
RvMessage()
          Default constructor.
RvMessage(byte[] pBytes)
           
RvMessage(com.tibco.tibrv.TibrvMsg pTibrvMsg)
          Copy constructor.
 
Method Summary
 void add(java.lang.String pString, boolean b)
           
 void add(java.lang.String pString, boolean b, int i)
           
 void add(java.lang.String pString, byte b)
           
 void add(java.lang.String pString, byte b, int i)
           
 void add(java.lang.String pString, double v)
           
 void add(java.lang.String pString, double v, int i)
           
 void add(java.lang.String pString, float v)
           
 void add(java.lang.String pString, float v, int i)
           
 void add(java.lang.String pString, int i)
           
 void add(java.lang.String pString, int i, int i1)
           
 void add(java.lang.String pString, long l)
           
 void add(java.lang.String pString, long l, int i)
           
 void add(java.lang.String pString, java.lang.Object pObject)
           
 void add(java.lang.String pString, java.lang.Object pObject, short i)
           
 void add(java.lang.String pString, java.lang.Object pObject, short i, int i1)
           
 void add(java.lang.String pString, short i)
           
 void add(java.lang.String pString, short i, int i1)
           
 void addField(com.tibco.tibrv.TibrvMsgField pTibrvMsgField)
           
 void addMsgField(IField pField)
          Adds a new field instance to the list of fields.
 void addU16(java.lang.String pString, short i)
           
 void addU16(java.lang.String pString, short i, int i1)
           
 void addU32(java.lang.String pString, int i)
           
 void addU32(java.lang.String pString, int i, int i1)
           
 void addU64(java.lang.String pString, long l)
           
 void addU64(java.lang.String pString, long l, int i)
           
 void addU8(java.lang.String pString, byte b)
           
 void addU8(java.lang.String pString, byte b, int i)
           
 void append(java.lang.String pFieldName, boolean pFieldData)
          Adds to this message a new field that represents a boolean.
 void append(java.lang.String pFieldName, int pFieldData)
          Adds to this message a new field that represents an int.
 void append(java.lang.String pFieldName, long pFieldData)
          Adds to this message a new field that represents an long.
 void append(java.lang.String pFieldName, java.lang.Object pFieldData)
          Adds to this message a new field.
 void append(java.lang.String pFieldName, java.lang.Object pFieldData, int pFieldType, int pFieldId)
          Adds to this message a new field
 void append(java.lang.String pFieldName, short pFieldData)
          Adds to this message a new field that represents a short.
 void appendMsgTracking(java.lang.String pTrackingInfo)
          Adds to the tracking information of this message
 java.lang.Object get(int i)
           
 java.lang.Object get(java.lang.String pString)
           
 java.lang.Object get(java.lang.String pString, int i)
           
 boolean getAsBoolean(java.lang.String pString, int i)
           
 byte getAsByte(java.lang.String pString, int i)
           
 double getAsDouble(java.lang.String pString, int i)
           
 float getAsFloat(java.lang.String pString, int i)
           
 int getAsInt(java.lang.String pString, int i)
           
 long getAsLong(java.lang.String pString, int i)
           
 short getAsShort(java.lang.String pString, int i)
           
 boolean getBoolean(java.lang.String pString, int i)
           
 byte getByte(java.lang.String pString, int i)
           
 double getDouble(java.lang.String pString, int i)
           
 com.tibco.tibrv.TibrvMsgField getField(int i)
           
 com.tibco.tibrv.TibrvMsgField getField(java.lang.String pString)
           
 com.tibco.tibrv.TibrvMsgField getField(java.lang.String pString, int i)
           
 com.tibco.tibrv.TibrvMsgField getFieldByIndex(int i)
           
 com.tibco.tibrv.TibrvMsgField getFieldInstance(java.lang.String pString, int i)
           
 float getFloat(java.lang.String pString, int i)
           
 int getInt(java.lang.String pString, int i)
           
 long getLong(java.lang.String pString, int i)
           
 IField getMsgField(int pFieldId)
          Retrieves the field according to it's id
 IField getMsgField(java.lang.String pFieldName)
          Retrieves the field according to it's name.
 IField getMsgFieldAt(int pIndex)
          Retrieves the field located at the specified index.
 java.util.Collection getMsgFields()
          Retrieves the fields attached to this instance
 java.lang.String getMsgReply()
          Retrieve the subject on which the reply to this message must be sent.
 java.lang.String getMsgSend()
          Retrieve the subject on which this messaging element was sent on.
 long getMsgSize()
          Retrieves the size of the message in bytes.
 ITracking getMsgTracking()
          Retrieves from this message the related tracking information
 java.lang.String getName()
          Retrieves the name of this instance.
 java.lang.Object getNativeMsg()
          Retrieve the native representation of this instance.
 IMessage getPayload()
          Retrieves the payload associated to this message.
 java.lang.String getReplySubject()
           
 java.lang.String getSendSubject()
           
 long getSequence()
          The sequence number of this message.
 short getShort(java.lang.String pString, int i)
           
 java.util.Map hashMsgFields()
          Retrieves a hashmap containing the messages fields of this instance.
 boolean isReservedKeyword(java.lang.String pFieldName)
          Checks if the given field name is a reserved keyword.
 int nbMsgFields()
          Retrieves the number of fields attached to this instance
 void readExternal(java.io.ObjectInput pObjectInput)
          The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
 boolean removeField(int i)
           
 boolean removeField(java.lang.String pString)
           
 boolean removeField(java.lang.String pString, int i)
           
 boolean removeFieldInstance(java.lang.String pString, int i)
           
 boolean removeMsgField(int pFieldID)
          Removes the field located at the specified index.
 boolean removeMsgField(java.lang.String pFieldName)
          Removes the first instance of the field by it's name.
 boolean removeMsgFieldAt(int pIndex)
          Removes the field located at the specified index.
 void setMsgFields(java.util.Collection pFields)
          Defines the fields attached to this instance.
 void setMsgReply(java.lang.String pReplySubject)
          Defines the subject on which the reply to this message must be sent.
 void setMsgSend(java.lang.String pSubject)
          Defines the subject on which this message is to be sent on.
 void setMsgTracking(ITracking pTracking)
          Defines the tracking information that this message must bear.
 void setName(java.lang.String pName)
          Defines the name of this instance.
 void setReplySubject(java.lang.String pString)
           
 void setSendSubject(java.lang.String pString)
           
 java.lang.String toString()
          The name of this message
 void update(java.lang.String pString, boolean b)
           
 void update(java.lang.String pString, boolean b, int i)
           
 void update(java.lang.String pString, byte b)
           
 void update(java.lang.String pString, byte b, int i)
           
 void update(java.lang.String pString, double v)
           
 void update(java.lang.String pString, double v, int i)
           
 void update(java.lang.String pString, float v)
           
 void update(java.lang.String pString, float v, int i)
           
 void update(java.lang.String pString, int i)
           
 void update(java.lang.String pString, int i, int i1)
           
 void update(java.lang.String pString, long l)
           
 void update(java.lang.String pString, long l, int i)
           
 void update(java.lang.String pString, java.lang.Object pObject)
           
 void update(java.lang.String pString, java.lang.Object pObject, short i)
           
 void update(java.lang.String pString, java.lang.Object pObject, short i, int i1)
           
 void update(java.lang.String pString, short i)
           
 void update(java.lang.String pString, short i, int i1)
           
 void updateField(java.lang.String pFieldPath, java.lang.Object pNewValue)
          Updates the content of the given field.
 void updateField(com.tibco.tibrv.TibrvMsgField pTibrvMsgField)
           
 void updateU16(java.lang.String pString, short i)
           
 void updateU16(java.lang.String pString, short i, int i1)
           
 void updateU32(java.lang.String pString, int i)
           
 void updateU32(java.lang.String pString, int i, int i1)
           
 void updateU64(java.lang.String pString, long l)
           
 void updateU64(java.lang.String pString, long l, int i)
           
 void updateU8(java.lang.String pString, byte b)
           
 void updateU8(java.lang.String pString, byte b, int i)
           
 void writeExternal(java.io.ObjectOutput pObjectOutput)
          The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
 
Methods inherited from class com.tibco.tibrv.TibrvMsg
defStringToBytes, defStringToBytes, getAsBytes, getCreateEnvelope, getDecoder, getEncoder, getEnvelope, getMsgStringEncoding, getNumFields, getReplySubjectAsBytes, getSendSubjectAsBytes, getStringEncoding, getTypeName, setHandlers, setStringEncoding, stringFromBytes, stringToBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESERVED_KEYWORDS

public static final java.lang.String[] RESERVED_KEYWORDS
The list of reserved keywords for TIB/Rendezvous messages.

Constructor Detail

RvMessage

public RvMessage()
Default constructor.


RvMessage

public RvMessage(com.tibco.tibrv.TibrvMsg pTibrvMsg)
          throws com.tibco.tibrv.TibrvException
Copy constructor.

Parameters:
pTibrvMsg - the message which contents are to be taken
Throws:
com.tibco.tibrv.TibrvException - if the contents of the messsage are corrupted.

RvMessage

public RvMessage(byte[] pBytes)
          throws com.tibco.tibrv.TibrvException
Throws:
com.tibco.tibrv.TibrvException
Method Detail

setName

public void setName(java.lang.String pName)
Defines the name of this instance.

Specified by:
setName in interface IMessage
Parameters:
pName - the name of this instance

getName

public java.lang.String getName()
Retrieves the name of this instance.

Specified by:
getName in interface IMessage
Returns:
the name.

getMsgSend

public java.lang.String getMsgSend()
Retrieve the subject on which this messaging element was sent on.

Specified by:
getMsgSend in interface IBusMessage
Returns:
the subject that is compliant with the message layer

setMsgSend

public void setMsgSend(java.lang.String pSubject)
                throws java.lang.IllegalArgumentException
Defines the subject on which this message is to be sent on.

Specified by:
setMsgSend in interface IBusMessage
Parameters:
pSubject - the string subject that is compliant with the message layer
Throws:
java.lang.IllegalArgumentException - if the subject is invalid.
java.lang.IllegalArgumentException - if the length of pSubject is greater than 250

getMsgReply

public java.lang.String getMsgReply()
Retrieve the subject on which the reply to this message must be sent.

Specified by:
getMsgReply in interface IBusMessage
Returns:
the subject that is compliant with the message layer, null if no reply is expected.

setMsgReply

public void setMsgReply(java.lang.String pReplySubject)
                 throws java.lang.IllegalArgumentException
Defines the subject on which the reply to this message must be sent.

Specified by:
setMsgReply in interface IBusMessage
Parameters:
pReplySubject - the subject that is compliant with the message layer
Throws:
java.lang.IllegalArgumentException - if the subject is invalid.
java.lang.IllegalArgumentException - if the length of pReplySubject is greater than 250

getMsgTracking

public ITracking getMsgTracking()
Retrieves from this message the related tracking information

Specified by:
getMsgTracking in interface IBusMessage
Returns:
the tracking information assigned to this message

setMsgTracking

public void setMsgTracking(ITracking pTracking)
                    throws java.lang.IllegalArgumentException
Defines the tracking information that this message must bear.

Specified by:
setMsgTracking in interface IBusMessage
Parameters:
pTracking - the tracking information for this message
Throws:
java.lang.IllegalArgumentException - if the tracking is null

appendMsgTracking

public void appendMsgTracking(java.lang.String pTrackingInfo)
                       throws java.lang.IllegalArgumentException
Adds to the tracking information of this message

Specified by:
appendMsgTracking in interface IBusMessage
Parameters:
pTrackingInfo - the additional tracking information to add.
Throws:
java.lang.IllegalArgumentException - if the tracking info is null

setMsgFields

public void setMsgFields(java.util.Collection pFields)
Defines the fields attached to this instance.

Specified by:
setMsgFields in interface IMessage
Parameters:
pFields - a collection of IField's

getMsgFields

public java.util.Collection getMsgFields()
Retrieves the fields attached to this instance

Specified by:
getMsgFields in interface IMessage
Returns:
a collection of IField's

addMsgField

public void addMsgField(IField pField)
                 throws java.lang.IllegalArgumentException
Adds a new field instance to the list of fields.

Specified by:
addMsgField in interface IMessage
Parameters:
pField - the field instance to append to the list of current fields
Throws:
java.lang.IllegalArgumentException - if the field id is already used by another field and is different from zero.
java.lang.IllegalArgumentException - if the data type is invalid or doesn't correspond to the data.

getMsgField

public IField getMsgField(java.lang.String pFieldName)
                   throws java.lang.IllegalArgumentException
Retrieves the field according to it's name.

Specified by:
getMsgField in interface IMessage
Parameters:
pFieldName - the name of the field
Returns:
the field, null if the field doesn't exist.
Throws:
java.lang.IllegalArgumentException - if TIB/Rendezvous can't find the field data.

getMsgField

public IField getMsgField(int pFieldId)
                   throws java.lang.IllegalArgumentException
Retrieves the field according to it's id

Specified by:
getMsgField in interface IMessage
Parameters:
pFieldId - the field ID of the desired field
Returns:
the field or null if the field ID doesn't exist.
Throws:
java.lang.IllegalArgumentException - if the field ID is less than 1.

getMsgFieldAt

public IField getMsgFieldAt(int pIndex)
                     throws java.lang.IndexOutOfBoundsException,
                            java.lang.InternalError
Retrieves the field located at the specified index.

Specified by:
getMsgFieldAt in interface IMessage
Parameters:
pIndex - the position of the field within the message
Returns:
the IField corresponding to the index
Throws:
java.lang.IndexOutOfBoundsException - if the index is greater than the number of fields.
java.lang.InternalError - if the contents of this message are corrupted
See Also:
nbMsgFields()

removeMsgField

public boolean removeMsgField(java.lang.String pFieldName)
                       throws java.lang.IllegalArgumentException
Removes the first instance of the field by it's name.

Specified by:
removeMsgField in interface IMessage
Parameters:
pFieldName - the name of the field that is to be removed.
Returns:
true if the removal was a success, false otherwise (field not found or can't remove).
Throws:
java.lang.IllegalArgumentException - the name of the fieldName is null.

removeMsgFieldAt

public boolean removeMsgFieldAt(int pIndex)
                         throws java.lang.UnsupportedOperationException
Removes the field located at the specified index.

Specified by:
removeMsgFieldAt in interface IMessage
Parameters:
pIndex - the name of the field that is to be removed.
Returns:
true if the removal was a success, false otherwise.
Throws:
java.lang.UnsupportedOperationException - this method isn't implemented.

removeMsgField

public boolean removeMsgField(int pFieldID)
                       throws java.lang.IndexOutOfBoundsException,
                              java.lang.IllegalArgumentException
Removes the field located at the specified index.

By convention a field ID uniquely identifies any given IField element, unless the field ID is equal to zero, in which case the field doesn't have a field ID.

Specified by:
removeMsgField in interface IMessage
Parameters:
pFieldID - the ID of the field to be removed.
Returns:
true if the removal was a success, false otherwise.
Throws:
java.lang.IndexOutOfBoundsException - if the provided ID is out of range
java.lang.IllegalArgumentException - if the field ID is equal to zero.

hashMsgFields

public java.util.Map hashMsgFields()
                            throws java.lang.InternalError
Retrieves a hashmap containing the messages fields of this instance.

Specified by:
hashMsgFields in interface IMessage
Returns:
a HashMap of IFields.
Throws:
java.lang.InternalError - if the data contained by this instance is corrupted.

append

public void append(java.lang.String pFieldName,
                   java.lang.Object pFieldData)
            throws java.lang.IllegalArgumentException
Adds to this message a new field.

Specified by:
append in interface IMessage
Parameters:
pFieldName - the name of the field
pFieldData - the data associated to the field
Throws:
java.lang.IllegalArgumentException - if TIB/Rendezvous won't append the data.
See Also:
IField.setName(String), IField.setData(Object)

append

public void append(java.lang.String pFieldName,
                   java.lang.Object pFieldData,
                   int pFieldType,
                   int pFieldId)
            throws java.lang.IllegalArgumentException
Adds to this message a new field

Specified by:
append in interface IMessage
Parameters:
pFieldName - the name of the field
pFieldData - the data associated to the field
pFieldType - the type of the data associated to the field
pFieldId - the id of the new field to add
Throws:
java.lang.IllegalArgumentException - if one of the parameters is invalid
See Also:
IField.setName(String), IField.setData(Object), IField.setType(int), IField.setId(int)

append

public void append(java.lang.String pFieldName,
                   boolean pFieldData)
            throws java.lang.IllegalArgumentException
Adds to this message a new field that represents a boolean.

Specified by:
append in interface IMessage
Parameters:
pFieldName - the name of the field
pFieldData - the data associated to the field
Throws:
java.lang.IllegalArgumentException - if one of the parameters is invalid
See Also:
IField.setName(String), IField.setData(Object)

append

public void append(java.lang.String pFieldName,
                   short pFieldData)
            throws java.lang.IllegalArgumentException
Adds to this message a new field that represents a short.

Specified by:
append in interface IMessage
Parameters:
pFieldName - the name of the field
pFieldData - the data associated to the field
Throws:
java.lang.IllegalArgumentException - if one of the parameters is invalid
See Also:
IField.setName(String), IField.setData(Object)

append

public void append(java.lang.String pFieldName,
                   int pFieldData)
            throws java.lang.IllegalArgumentException
Adds to this message a new field that represents an int.

Specified by:
append in interface IMessage
Parameters:
pFieldName - the name of the field
pFieldData - the data associated to the field
Throws:
java.lang.IllegalArgumentException - if one of the parameters is invalid
See Also:
IField.setName(String), IField.setData(Object)

append

public void append(java.lang.String pFieldName,
                   long pFieldData)
            throws java.lang.IllegalArgumentException
Adds to this message a new field that represents an long.

Specified by:
append in interface IMessage
Parameters:
pFieldName - the name of the field
pFieldData - the data associated to the field
Throws:
java.lang.IllegalArgumentException - if one of the parameters is invalid
See Also:
IField.setName(String), IField.setData(Object)

nbMsgFields

public int nbMsgFields()
Retrieves the number of fields attached to this instance

Specified by:
nbMsgFields in interface IMessage
Returns:
the number of IField elements contained by this message

getMsgSize

public long getMsgSize()
Retrieves the size of the message in bytes.

Specified by:
getMsgSize in interface IMessage
Returns:
the size of the native message.

getNativeMsg

public java.lang.Object getNativeMsg()
Retrieve the native representation of this instance.

Specified by:
getNativeMsg in interface IMessage
Returns:
the native object that is identical to this instance.

updateField

public void updateField(java.lang.String pFieldPath,
                        java.lang.Object pNewValue)
Updates the content of the given field.

Specified by:
updateField in interface IMessage
Parameters:
pFieldPath - the path to the field.
pNewValue - the new value, must be same type as previous value.

getSequence

public long getSequence()
The sequence number of this message.

Specified by:
getSequence in interface IMessage
Returns:
the sequence number, 0 if not applicable.

getPayload

public IMessage getPayload()
Retrieves the payload associated to this message.

Specified by:
getPayload in interface IBusMessage
Returns:
the payload without specific middleware information.

isReservedKeyword

public boolean isReservedKeyword(java.lang.String pFieldName)
Checks if the given field name is a reserved keyword. Reserved keywords are field names used by the middleware layer and shouldn't be normally used by the program.

Specified by:
isReservedKeyword in interface IBusMessage
Parameters:
pFieldName - the name of the field to test.
Returns:
true if the field name is a reserved word.

writeExternal

public void writeExternal(java.io.ObjectOutput pObjectOutput)
                   throws java.io.IOException
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Specified by:
writeExternal in interface java.io.Externalizable
Parameters:
pObjectOutput - the stream to write the object to
Throws:
java.io.IOException - Includes any I/O exceptions that may occur

readExternal

public void readExternal(java.io.ObjectInput pObjectInput)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values pObjectInput the same sequence and with the same types as were written by writeExternal.

Specified by:
readExternal in interface java.io.Externalizable
Parameters:
pObjectInput - the stream to read data from pObjectInput order to restore the object
Throws:
java.io.IOException - if I/O errors occur
java.lang.ClassNotFoundException - If the class for an object being restored cannot be found.

setSendSubject

public void setSendSubject(java.lang.String pString)
                    throws com.tibco.tibrv.TibrvException
Overrides:
setSendSubject in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getSendSubject

public java.lang.String getSendSubject()
Overrides:
getSendSubject in class com.tibco.tibrv.TibrvMsg

setReplySubject

public void setReplySubject(java.lang.String pString)
                     throws com.tibco.tibrv.TibrvException
Overrides:
setReplySubject in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getReplySubject

public java.lang.String getReplySubject()
Overrides:
getReplySubject in class com.tibco.tibrv.TibrvMsg

get

public java.lang.Object get(java.lang.String pString)
                     throws com.tibco.tibrv.TibrvException
Overrides:
get in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

get

public java.lang.Object get(int i)
                     throws com.tibco.tibrv.TibrvException
Overrides:
get in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

get

public java.lang.Object get(java.lang.String pString,
                            int i)
                     throws com.tibco.tibrv.TibrvException
Overrides:
get in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getField

public com.tibco.tibrv.TibrvMsgField getField(java.lang.String pString)
                                       throws com.tibco.tibrv.TibrvException
Overrides:
getField in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getField

public com.tibco.tibrv.TibrvMsgField getField(int i)
                                       throws com.tibco.tibrv.TibrvException
Overrides:
getField in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getField

public com.tibco.tibrv.TibrvMsgField getField(java.lang.String pString,
                                              int i)
                                       throws com.tibco.tibrv.TibrvException
Overrides:
getField in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getFieldByIndex

public com.tibco.tibrv.TibrvMsgField getFieldByIndex(int i)
                                              throws com.tibco.tibrv.TibrvException
Overrides:
getFieldByIndex in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getFieldInstance

public com.tibco.tibrv.TibrvMsgField getFieldInstance(java.lang.String pString,
                                                      int i)
                                               throws com.tibco.tibrv.TibrvException
Overrides:
getFieldInstance in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getBoolean

public boolean getBoolean(java.lang.String pString,
                          int i)
                   throws com.tibco.tibrv.TibrvException
Overrides:
getBoolean in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getByte

public byte getByte(java.lang.String pString,
                    int i)
             throws com.tibco.tibrv.TibrvException
Overrides:
getByte in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getShort

public short getShort(java.lang.String pString,
                      int i)
               throws com.tibco.tibrv.TibrvException
Overrides:
getShort in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getInt

public int getInt(java.lang.String pString,
                  int i)
           throws com.tibco.tibrv.TibrvException
Overrides:
getInt in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getLong

public long getLong(java.lang.String pString,
                    int i)
             throws com.tibco.tibrv.TibrvException
Overrides:
getLong in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getFloat

public float getFloat(java.lang.String pString,
                      int i)
               throws com.tibco.tibrv.TibrvException
Overrides:
getFloat in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getDouble

public double getDouble(java.lang.String pString,
                        int i)
                 throws com.tibco.tibrv.TibrvException
Overrides:
getDouble in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getAsBoolean

public boolean getAsBoolean(java.lang.String pString,
                            int i)
                     throws com.tibco.tibrv.TibrvException
Overrides:
getAsBoolean in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getAsByte

public byte getAsByte(java.lang.String pString,
                      int i)
               throws com.tibco.tibrv.TibrvException
Overrides:
getAsByte in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getAsShort

public short getAsShort(java.lang.String pString,
                        int i)
                 throws com.tibco.tibrv.TibrvException
Overrides:
getAsShort in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getAsInt

public int getAsInt(java.lang.String pString,
                    int i)
             throws com.tibco.tibrv.TibrvException
Overrides:
getAsInt in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getAsLong

public long getAsLong(java.lang.String pString,
                      int i)
               throws com.tibco.tibrv.TibrvException
Overrides:
getAsLong in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getAsFloat

public float getAsFloat(java.lang.String pString,
                        int i)
                 throws com.tibco.tibrv.TibrvException
Overrides:
getAsFloat in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

getAsDouble

public double getAsDouble(java.lang.String pString,
                          int i)
                   throws com.tibco.tibrv.TibrvException
Overrides:
getAsDouble in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

removeField

public boolean removeField(java.lang.String pString)
Overrides:
removeField in class com.tibco.tibrv.TibrvMsg

removeField

public boolean removeField(int i)
Overrides:
removeField in class com.tibco.tibrv.TibrvMsg

removeField

public boolean removeField(java.lang.String pString,
                           int i)
                    throws com.tibco.tibrv.TibrvException
Overrides:
removeField in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

removeFieldInstance

public boolean removeFieldInstance(java.lang.String pString,
                                   int i)
Overrides:
removeFieldInstance in class com.tibco.tibrv.TibrvMsg

addField

public void addField(com.tibco.tibrv.TibrvMsgField pTibrvMsgField)
              throws com.tibco.tibrv.TibrvException
Overrides:
addField in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                java.lang.Object pObject)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                java.lang.Object pObject,
                short i)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                java.lang.Object pObject,
                short i,
                int i1)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                boolean b)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                byte b)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                short i)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                int i)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                long l)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                float v)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                double v)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

addU8

public void addU8(java.lang.String pString,
                  byte b)
           throws com.tibco.tibrv.TibrvException
Overrides:
addU8 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

addU16

public void addU16(java.lang.String pString,
                   short i)
            throws com.tibco.tibrv.TibrvException
Overrides:
addU16 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

addU32

public void addU32(java.lang.String pString,
                   int i)
            throws com.tibco.tibrv.TibrvException
Overrides:
addU32 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

addU64

public void addU64(java.lang.String pString,
                   long l)
            throws com.tibco.tibrv.TibrvException
Overrides:
addU64 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                boolean b,
                int i)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                byte b,
                int i)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                short i,
                int i1)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                int i,
                int i1)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                long l,
                int i)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                float v,
                int i)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

add

public void add(java.lang.String pString,
                double v,
                int i)
         throws com.tibco.tibrv.TibrvException
Overrides:
add in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

addU8

public void addU8(java.lang.String pString,
                  byte b,
                  int i)
           throws com.tibco.tibrv.TibrvException
Overrides:
addU8 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

addU16

public void addU16(java.lang.String pString,
                   short i,
                   int i1)
            throws com.tibco.tibrv.TibrvException
Overrides:
addU16 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

addU32

public void addU32(java.lang.String pString,
                   int i,
                   int i1)
            throws com.tibco.tibrv.TibrvException
Overrides:
addU32 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

addU64

public void addU64(java.lang.String pString,
                   long l,
                   int i)
            throws com.tibco.tibrv.TibrvException
Overrides:
addU64 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateField

public void updateField(com.tibco.tibrv.TibrvMsgField pTibrvMsgField)
                 throws com.tibco.tibrv.TibrvException
Overrides:
updateField in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   java.lang.Object pObject)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   java.lang.Object pObject,
                   short i)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   java.lang.Object pObject,
                   short i,
                   int i1)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   boolean b)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   byte b)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   short i)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   int i)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   long l)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   float v)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   double v)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateU8

public void updateU8(java.lang.String pString,
                     byte b)
              throws com.tibco.tibrv.TibrvException
Overrides:
updateU8 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateU16

public void updateU16(java.lang.String pString,
                      short i)
               throws com.tibco.tibrv.TibrvException
Overrides:
updateU16 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateU32

public void updateU32(java.lang.String pString,
                      int i)
               throws com.tibco.tibrv.TibrvException
Overrides:
updateU32 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateU64

public void updateU64(java.lang.String pString,
                      long l)
               throws com.tibco.tibrv.TibrvException
Overrides:
updateU64 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   boolean b,
                   int i)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   byte b,
                   int i)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   short i,
                   int i1)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   int i,
                   int i1)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   long l,
                   int i)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   float v,
                   int i)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

update

public void update(java.lang.String pString,
                   double v,
                   int i)
            throws com.tibco.tibrv.TibrvException
Overrides:
update in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateU8

public void updateU8(java.lang.String pString,
                     byte b,
                     int i)
              throws com.tibco.tibrv.TibrvException
Overrides:
updateU8 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateU16

public void updateU16(java.lang.String pString,
                      short i,
                      int i1)
               throws com.tibco.tibrv.TibrvException
Overrides:
updateU16 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateU32

public void updateU32(java.lang.String pString,
                      int i,
                      int i1)
               throws com.tibco.tibrv.TibrvException
Overrides:
updateU32 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

updateU64

public void updateU64(java.lang.String pString,
                      long l,
                      int i)
               throws com.tibco.tibrv.TibrvException
Overrides:
updateU64 in class com.tibco.tibrv.TibrvMsg
Throws:
com.tibco.tibrv.TibrvException

toString

public java.lang.String toString()
The name of this message

Overrides:
toString in class com.tibco.tibrv.TibrvMsg
Returns:
the result of getName()


Copyright null null. All Rights Reserved.