[TIBCO.EMS .NET client library 5.1 documentation]

The BytesMessage type exposes the following members.

Constructors

  NameDescription
BytesMessage
Construct an empty bytes message for a session.

Methods

  NameDescription
Acknowledge
Acknowledges all consumed messages of the session of this consumed message.
(Inherited from Message.)
ClearBody
Clears out the message body. Clearing a message's body does not clear its header values or property entries.
(Overrides Message..::.ClearBody()()().)
ClearProperties
Clears a message's properties.
(Inherited from Message.)
Clone
Create a copy of the BytesMessage object.
(Overrides Message..::.Clone()()().)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetBooleanProperty
Returns the value of the boolean property with the specified name.
(Inherited from Message.)
GetByteProperty
Returns the value of the byte property with the specified name.
(Inherited from Message.)
GetDoubleProperty
Returns the value of the double property with the specified name.
(Inherited from Message.)
GetFloatProperty
Returns the value of the float property with the specified name.
(Inherited from Message.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetIntProperty
Returns the value of the int property with the specified name.
(Inherited from Message.)
GetLongProperty
Returns the value of the long property with the specified name.
(Inherited from Message.)
GetObjectProperty
Returns the value of the object property with the specified name.
(Inherited from Message.)
GetProperty Obsolete.
THIS IS FOR INTERNAL USE ONLY
(Inherited from Message.)
GetShortProperty
Returns the value of the short property with the specified name.
(Inherited from Message.)
GetStringProperty
Returns the value of the string property with the specified name.
(Inherited from Message.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
PropertyExists
Test whether a named property has been set on a message.
(Inherited from Message.)
ReadBoolean
Reads a boolean from the bytes message stream.
ReadByte
Reads a byte from the bytes message stream.
ReadBytesOverloaded.
ReadChar
Reads a char from the bytes message stream.
ReadDouble
Reads a double from the bytes message stream.
ReadFloat
Reads a float from the bytes message stream.
ReadInt
Reads a int from the bytes message stream.
ReadLong
Reads a long from the bytes message stream.
ReadShort
Reads a short from the bytes message stream.
ReadUnsignedByte
Reads a unsigned byte from the bytes message stream.
ReadUnsignedShort
Reads a unsigned short from the bytes message stream.
ReadUTF
Reads a UTF string from the bytes message stream.
Reset
Puts the message body in read-only mode and repositions the stream of bytes to the beginning.
SetBooleanProperty
Sets a boolean property value with the specified name into the message
(Inherited from Message.)
SetByteProperty
Sets a byte property value with the specified name into the message
(Inherited from Message.)
SetBytesProperty
FOR INTERNL USE ONLY
(Inherited from Message.)
SetDoubleProperty
Sets a double property value with the specified name into the message
(Inherited from Message.)
SetFloatProperty
Sets a float property value with the specified name into the message
(Inherited from Message.)
SetIntProperty
Sets a int property value with the specified name into the message
(Inherited from Message.)
SetLongProperty
Sets a long property value with the specified name into the message
(Inherited from Message.)
SetObjectProperty
Sets an object property value with the specified name into the message
(Inherited from Message.)
SetShortProperty
Sets a short property value with the specified name into the message
(Inherited from Message.)
SetStringProperty
Sets a string property value with the specified name into the message
(Inherited from Message.)
ToString
returns a string representation of the map message
(Overrides Message..::.ToString()()().)
WriteBoolean
Writes a boolean to the bytes message stream as a 1-byte value. The value true is written as the value (byte)1; the value false is written as the value (byte)0.
WriteByte
Writes a byte to the bytes message stream as a 1-byte value.
WriteBytesOverloaded.
WriteChar
Writes a char to the bytes message stream
WriteDouble
Writes a double to the bytes message stream
WriteFloat
Writes a float to the bytes message stream
WriteInt
Writes a int to the bytes message stream
WriteLong
Writes a long to the bytes message stream
WriteObject
Writes an object to the bytes message stream.
WriteShort
Writes a short to the bytes message stream as two bytes, high byte first.
WriteUTF
Writes a utf string to the bytes message stream

Properties

  NameDescription
BodyLength
Gets the number of bytes of the message body when the message is in read-only mode. The value returned can be used to allocate a byte array. The value returned is the entire length of the message body, regardless of where the pointer for reading the message is currently located
CorrelationID
Gets and Sets the correlation ID for the message.
(Inherited from Message.)
CorrelationIDAsBytes
Gets and Sets the correlation ID as an array of bytes for the message.
(Inherited from Message.)
DeliveryMode
Get and set the message's delivery mode as an integer constant as defined in the DeliveryMode class. Users are recommended to use the MessageDeliveryMode enum instead.
(Inherited from Message.)
Destination
Gets and Sets the Destination object for this message.
(Inherited from Message.)
Expiration
Gets and Sets the message's expiration value.
(Inherited from Message.)
IsCompressed Obsolete.
THIS IS FOR INTERNAL USE ONLY
(Inherited from Message.)
MessageID
Gets and Sets the message ID for the message.
(Inherited from Message.)
MsgDeliveryMode
Get and set the message's delivery mode as enum value of type MessageDeliveryMode
(Inherited from Message.)
MsgType
Gets and Sets the message's type value.
(Inherited from Message.)
Priority
Gets and Sets the message's priority value.
(Inherited from Message.)
PropertyNames
Returns an Enumeration of all the property names.
(Inherited from Message.)
Redelivered
Gets and Sets the message's redelivered value.
(Inherited from Message.)
ReplyTo
Gets and Sets the message's replyto value.
(Inherited from Message.)
Timestamp
Gets and Sets the timestamp for the message.
(Inherited from Message.)

See Also