Message
Overview
Message is the abstract base class for Message implementations in Remoting SDK for Java. You will usually not instantiate instances of this class itself, but use the descendant classes such as BinMessage.
Location
- Reference: com.remobjects.sdk.jar
- Package: com.remobjects.sdk
- Ancestry: Object | Message
constructor
Creates Message.
constructor
Message()
beginReadObject
Calls to read instance of ComplexType.
method beginReadObject(aName: String; aValue: Class): ComplexType
ComplexType beginReadObject(String aName, Class aValue)
Parameters:
- aName: Given ComplexType object.
- aValue: Given subclass of ComplexType class.
beginWriteObject
Calls to write instance of ComplexType.
method beginWriteObject(aName: String; aValue: ComplexType)
void beginWriteObject(String aName, ComplexType aValue)
Parameters:
- aName: Given name.
- aValue: Given name.
clear
Clears all internal data structures and prepare the BinMessage class to handle the processing of a new message.
method clear
void clear()
clearAttributes
Clears all internal attributes.
method clearAttributes
void clearAttributes()
ClientID
property ClientID: UUID read write;
UUID ClientID { __get; __set; }
clone
Creates copy of the message.
method clone: Object
Object clone()
ContentType
property ContentType: String read;
String ContentType { __get; }
createExceptionWithClassName
Creates exception object.
method createExceptionWithClassName(aExceptionName: String; aMessage: String): ExceptionType
ExceptionType createExceptionWithClassName(String aExceptionName, String aMessage)
Parameters:
- aExceptionName: Given exception class name.
- aMessage: Given exception text.
doGetStream
Creates a new stream with the content of the message.
method doGetStream: ByteArrayOutputStream
ByteArrayOutputStream doGetStream()
doReadException final
Calls to read exception params from stream.
method doReadException(aException: ExceptionType)
void doReadException(ExceptionType aException)
Parameters:
- aException: Given exception.
doReadFromStream
Read from input stream the BinHeader and the BinReaderWriter streams.
method doReadFromStream(aStream: ByteArrayInputStream)
void doReadFromStream(ByteArrayInputStream aStream)
Parameters:
- aStream: Given stream.
doReadObject final
Calls to read ComplexType elements.
method doReadObject(aName: String; aValue: IStreamable)
void doReadObject(String aName, IStreamable aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
doWriteObject final
Calls to write ComplexType elements.
method doWriteObject(aName: String; aValue: IStreamable)
void doWriteObject(String aName, IStreamable aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
endReadObject
Calls to finish reading instance of ComplexType.
method endReadObject(aName: String; aValue: ComplexType)
void endReadObject(String aName, ComplexType aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
endWriteObject
Calls to finish writng instance of ComplexType.
method endWriteObject(aName: String; aValue: ComplexType)
void endWriteObject(String aName, ComplexType aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
Envelopes
property Envelopes: HashMap<String, MessageEnvelope> read;
HashMap<String, MessageEnvelope> Envelopes { __get; }
finalizeMessage
This method should be implemented to ensure that the message content is complete before sending it by doing any final processing necessary. FinalizeMessage is called after all Parameters have been written to a Message and before the message will be sent. It should perform any necessary wrap-up to ensure that a subsequent call to writeToStream() will produce a complete message.
method finalizeMessage
void finalizeMessage()
getAtttributeValue
Returns attribute value by name.
method getAtttributeValue(aName: String): String
String getAtttributeValue(String aName)
Parameters:
- aName: Given name.
getStream final
This method provides envelopes processing.
method getStream: ByteArrayOutputStream
ByteArrayOutputStream getStream()
initializeAsRequestMessage final
Initializes request message.
method initializeAsRequestMessage(aLibraryName: String; anInterfaceName: String; aMessageName: String)
void initializeAsRequestMessage(String aLibraryName, String anInterfaceName, String aMessageName)
Parameters:
- aLibraryName: Given name.
- anInterfaceName: Given name.
- aMessageName: Given name.
initializeMessage
Initializes custom message of type MessageType for interface aInterfaceName with message name aMessageName on channel aChannel.
method initializeMessage(aLibraryName: String; anInterfaceName: String; aMessageName: String; aMessageType: MessageTypeDictionary)
void initializeMessage(String aLibraryName, String anInterfaceName, String aMessageName, MessageTypeDictionary aMessageType)
Parameters:
- aLibraryName: Given library name.
- anInterfaceName: Given interface name.
- aMessageName: Given message name.
- aMessageType: Given message type.
InterfaceName
property InterfaceName: String read write;
String InterfaceName { __get; __set; }
LibraryName
property LibraryName: String read write;
String LibraryName { __get; __set; }
MessageName
property MessageName: String read write;
String MessageName { __get; __set; }
MessageType
property MessageType: MessageTypeDictionary read write;
MessageTypeDictionary MessageType { __get; __set; }
messageWithURI
Static method factory. Creates message by URI scheme.
Parameters:
- aURI: Given URI.
processException final
Raises exception from server.
method processException
void processException()
readAnsiString
Calls to read ANSI string.
method readAnsiString(aName: String): String
String readAnsiString(String aName)
Parameters:
- aName: Given name.
readArray
Calls to read ArrayType.
method readArray(aName: String; aValue: Class): ArrayType
ArrayType readArray(String aName, Class aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
readBinary
Calls to read binary stream.
method readBinary(aName: String): array of SByte
SByte[] readBinary(String aName)
Parameters:
- aName: Given name.
readBoolean
Calls to read boolean.
method readBoolean(aName: String): Boolean
Boolean readBoolean(String aName)
Parameters:
- aName: Given name.
readByte
Calls to read byte.
method readByte(aName: String): Byte
Byte readByte(String aName)
Parameters:
- aName: Given name.
readComplex
Calls to read struct.
method readComplex(aName: String; aValue: Class): ComplexType
ComplexType readComplex(String aName, Class aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
readCurrency
Calls to read currency.
method readCurrency(aName: String): BigDecimal
BigDecimal readCurrency(String aName)
Parameters:
- aName: Given name.
readDateTime
Calls to read date.
method readDateTime(aName: String): Date
Date readDateTime(String aName)
Parameters:
- aName: Given name.
readDecimal
Calls to read decimal.
method readDecimal(aName: String): BigDecimal
BigDecimal readDecimal(String aName)
Parameters:
- aName: Given name.
readDouble
Calls to read double.
method readDouble(aName: String): Double
Double readDouble(String aName)
Parameters:
- aName: Given name.
readEnum
Calls to read enum.
method readEnum(aName: String): Integer
Integer readEnum(String aName)
Parameters:
- aName: Given name.
readException
Calls to read and raise exception.
method readException: ExceptionType
ExceptionType readException()
readFromStream final
For internal use, used by the RO/J framework to stream objects to a message packet.
method readFromStream(aStream: ByteArrayInputStream)
void readFromStream(ByteArrayInputStream aStream)
Parameters:
- aStream: Given stream.
readGuid
Calls to read uuid.
method readGuid(aName: String): UUID
UUID readGuid(String aName)
Parameters:
- aName: Given name.
readInt32
Calls to read integer.
method readInt32(aName: String): Integer
Integer readInt32(String aName)
Parameters:
- aName: Given name.
readInt64
Calls to read long.
method readInt64(aName: String): Long
Long readInt64(String aName)
Parameters:
- aName: Given name.
readNativeArray
method readNativeArray(aName: String; aValue: Class; aRodlType: String): array of Object
Object[] readNativeArray(String aName, Class aValue, String aRodlType)
Parameters:
- aName:
- aValue:
- aRodlType:
readNullableBoolean
method readNullableBoolean(aName: String): Boolean
Boolean readNullableBoolean(String aName)
Parameters:
- aName:
readNullableCurrency
method readNullableCurrency(aName: String): nullable BigDecimal
BigDecimal readNullableCurrency(String aName)
Parameters:
- aName:
readNullableDateTime
method readNullableDateTime(aName: String): nullable Date
Date readNullableDateTime(String aName)
Parameters:
- aName:
readNullableDecimal
method readNullableDecimal(aName: String): nullable BigDecimal
BigDecimal readNullableDecimal(String aName)
Parameters:
- aName:
readNullableDouble
method readNullableDouble(aName: String): Double
Double readNullableDouble(String aName)
Parameters:
- aName:
readNullableGuid
method readNullableGuid(aName: String): nullable UUID
UUID readNullableGuid(String aName)
Parameters:
- aName:
readNullableInt32
method readNullableInt32(aName: String): Integer
Integer readNullableInt32(String aName)
Parameters:
- aName:
readNullableInt64
method readNullableInt64(aName: String): Long
Long readNullableInt64(String aName)
Parameters:
- aName:
readUtf8String
Calls to read UTF8 string.
method readUtf8String(aName: String): String
String readUtf8String(String aName)
Parameters:
- aName: Given name.
readVariant
Call to this method to read VariantType.
method readVariant(aName: String): VariantType
VariantType readVariant(String aName)
Parameters:
- aName: Given name.
readWideString
Calls to read VariantType.
method readWideString(aName: String): String
String readWideString(String aName)
Parameters:
- aName: Given name.
readXml
Calls to read XmlType.
Parameters:
- aName: Given name.
setupAttributes
Sets attributes map.
method setupAttributes(aAttributes: HashMap<String, String>)
void setupAttributes(HashMap<String, String> aAttributes)
Parameters:
- aAttributes: Given value.
UseSingleClientID
class property UseSingleClientID: Boolean read write;
class Boolean UseSingleClientID { __get; __set; }
UseStrictFieldOrderForStructs
property UseStrictFieldOrderForStructs: Boolean read write;
Boolean UseStrictFieldOrderForStructs { __get; __set; }
writeAnsiString
Calls to write ANSI string.
method writeAnsiString(aName: String; aValue: String)
void writeAnsiString(String aName, String aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeArray
Calls to write instance of ArrayType.
Parameters:
- aName: Given name.
- aValue: Given value.
writeBinary
Calls to write binary stream.
method writeBinary(aName: String; aValue: array of SByte)
void writeBinary(String aName, SByte[] aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeBoolean
Calls to write boolean.
method writeBoolean(aName: String; aValue: Boolean)
void writeBoolean(String aName, Boolean aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeByte
Calls to write byte.
method writeByte(aName: String; aValue: Byte)
void writeByte(String aName, Byte aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeComplex final
Calls to write currency.
method writeComplex(aName: String; aValue: ComplexType)
void writeComplex(String aName, ComplexType aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeCurrency
Call to this method to write currency.
method writeCurrency(aName: String; aValue: BigDecimal)
void writeCurrency(String aName, BigDecimal aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeDateTime
Calls to write date.
method writeDateTime(aName: String; aValue: Date)
void writeDateTime(String aName, Date aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeDecimal
Calls to write decimal.
method writeDecimal(aName: String; aValue: BigDecimal)
void writeDecimal(String aName, BigDecimal aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeDouble
Calls to write double.
method writeDouble(aName: String; aValue: Double)
void writeDouble(String aName, Double aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeEnum
Calls to write enum.
method writeEnum(aName: String; aValue: Integer)
void writeEnum(String aName, Integer aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeGuid
Calls to write uuid.
method writeGuid(aName: String; aValue: UUID)
void writeGuid(String aName, UUID aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeInt32
Calls to write integer.
method writeInt32(aName: String; aValue: Integer)
void writeInt32(String aName, Integer aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeInt64
Calls to write long.
method writeInt64(aName: String; aValue: Long)
void writeInt64(String aName, Long aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeNativeArray
method writeNativeArray(aName: String; aValue: array of Object; aRodlType: String)
void writeNativeArray(String aName, Object[] aValue, String aRodlType)
Parameters:
- aName:
- aValue:
- aRodlType:
writeNullableBoolean
method writeNullableBoolean(aName: String; aValue: Boolean)
void writeNullableBoolean(String aName, Boolean aValue)
Parameters:
- aName:
- aValue:
writeNullableCurrency
method writeNullableCurrency(aName: String; aValue: nullable BigDecimal)
void writeNullableCurrency(String aName, BigDecimal aValue)
Parameters:
- aName:
- aValue:
writeNullableDateTime
method writeNullableDateTime(aName: String; aValue: nullable Date)
void writeNullableDateTime(String aName, Date aValue)
Parameters:
- aName:
- aValue:
writeNullableDecimal
method writeNullableDecimal(aName: String; aValue: nullable BigDecimal)
void writeNullableDecimal(String aName, BigDecimal aValue)
Parameters:
- aName:
- aValue:
writeNullableDouble
method writeNullableDouble(aName: String; aValue: Double)
void writeNullableDouble(String aName, Double aValue)
Parameters:
- aName:
- aValue:
writeNullableGuid
method writeNullableGuid(aName: String; aValue: nullable UUID)
void writeNullableGuid(String aName, UUID aValue)
Parameters:
- aName:
- aValue:
writeNullableInt32
method writeNullableInt32(aName: String; aValue: Integer)
void writeNullableInt32(String aName, Integer aValue)
Parameters:
- aName:
- aValue:
writeNullableInt64
method writeNullableInt64(aName: String; aValue: Long)
void writeNullableInt64(String aName, Long aValue)
Parameters:
- aName:
- aValue:
writeToStream final
For internal use, used by the RO/J framework to stream objects to a message packet.
method writeToStream(aStream: ByteArrayOutputStream)
void writeToStream(ByteArrayOutputStream aStream)
Parameters:
- aStream: Given stream.
writeUtf8String
Calls to write UTF8 string.
method writeUtf8String(aName: String; aValue: String)
void writeUtf8String(String aName, String aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeVariant
Calls to write VariantType.
method writeVariant(aName: String; aValue: VariantType)
void writeVariant(String aName, VariantType aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeWideString
Calls to write wide string.
method writeWideString(aName: String; aValue: String)
void writeWideString(String aName, String aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeXml
Calls to write XmlType.
Parameters:
- aName: Given name.
- aValue: Given value.
ClientID
property ClientID: UUID read write;
UUID ClientID { __get; __set; }
ContentType
property ContentType: String read;
String ContentType { __get; }
Envelopes
property Envelopes: HashMap<String, MessageEnvelope> read;
HashMap<String, MessageEnvelope> Envelopes { __get; }
InterfaceName
property InterfaceName: String read write;
String InterfaceName { __get; __set; }
LibraryName
property LibraryName: String read write;
String LibraryName { __get; __set; }
MessageName
property MessageName: String read write;
String MessageName { __get; __set; }
MessageType
property MessageType: MessageTypeDictionary read write;
MessageTypeDictionary MessageType { __get; __set; }
UseStrictFieldOrderForStructs
property UseStrictFieldOrderForStructs: Boolean read write;
Boolean UseStrictFieldOrderForStructs { __get; __set; }
UseSingleClientID
class property UseSingleClientID: Boolean read write;
class Boolean UseSingleClientID { __get; __set; }
messageWithURI
Static method factory. Creates message by URI scheme.
Parameters:
- aURI: Given URI.
constructor
Creates Message.
constructor
Message()
beginReadObject
Calls to read instance of ComplexType.
method beginReadObject(aName: String; aValue: Class): ComplexType
ComplexType beginReadObject(String aName, Class aValue)
Parameters:
- aName: Given ComplexType object.
- aValue: Given subclass of ComplexType class.
beginWriteObject
Calls to write instance of ComplexType.
method beginWriteObject(aName: String; aValue: ComplexType)
void beginWriteObject(String aName, ComplexType aValue)
Parameters:
- aName: Given name.
- aValue: Given name.
clear
Clears all internal data structures and prepare the BinMessage class to handle the processing of a new message.
method clear
void clear()
clearAttributes
Clears all internal attributes.
method clearAttributes
void clearAttributes()
clone
Creates copy of the message.
method clone: Object
Object clone()
createExceptionWithClassName
Creates exception object.
method createExceptionWithClassName(aExceptionName: String; aMessage: String): ExceptionType
ExceptionType createExceptionWithClassName(String aExceptionName, String aMessage)
Parameters:
- aExceptionName: Given exception class name.
- aMessage: Given exception text.
doGetStream
Creates a new stream with the content of the message.
method doGetStream: ByteArrayOutputStream
ByteArrayOutputStream doGetStream()
doReadException final
Calls to read exception params from stream.
method doReadException(aException: ExceptionType)
void doReadException(ExceptionType aException)
Parameters:
- aException: Given exception.
doReadFromStream
Read from input stream the BinHeader and the BinReaderWriter streams.
method doReadFromStream(aStream: ByteArrayInputStream)
void doReadFromStream(ByteArrayInputStream aStream)
Parameters:
- aStream: Given stream.
doReadObject final
Calls to read ComplexType elements.
method doReadObject(aName: String; aValue: IStreamable)
void doReadObject(String aName, IStreamable aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
doWriteObject final
Calls to write ComplexType elements.
method doWriteObject(aName: String; aValue: IStreamable)
void doWriteObject(String aName, IStreamable aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
endReadObject
Calls to finish reading instance of ComplexType.
method endReadObject(aName: String; aValue: ComplexType)
void endReadObject(String aName, ComplexType aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
endWriteObject
Calls to finish writng instance of ComplexType.
method endWriteObject(aName: String; aValue: ComplexType)
void endWriteObject(String aName, ComplexType aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
finalizeMessage
This method should be implemented to ensure that the message content is complete before sending it by doing any final processing necessary. FinalizeMessage is called after all Parameters have been written to a Message and before the message will be sent. It should perform any necessary wrap-up to ensure that a subsequent call to writeToStream() will produce a complete message.
method finalizeMessage
void finalizeMessage()
getAtttributeValue
Returns attribute value by name.
method getAtttributeValue(aName: String): String
String getAtttributeValue(String aName)
Parameters:
- aName: Given name.
getStream final
This method provides envelopes processing.
method getStream: ByteArrayOutputStream
ByteArrayOutputStream getStream()
initializeAsRequestMessage final
Initializes request message.
method initializeAsRequestMessage(aLibraryName: String; anInterfaceName: String; aMessageName: String)
void initializeAsRequestMessage(String aLibraryName, String anInterfaceName, String aMessageName)
Parameters:
- aLibraryName: Given name.
- anInterfaceName: Given name.
- aMessageName: Given name.
initializeMessage
Initializes custom message of type MessageType for interface aInterfaceName with message name aMessageName on channel aChannel.
method initializeMessage(aLibraryName: String; anInterfaceName: String; aMessageName: String; aMessageType: MessageTypeDictionary)
void initializeMessage(String aLibraryName, String anInterfaceName, String aMessageName, MessageTypeDictionary aMessageType)
Parameters:
- aLibraryName: Given library name.
- anInterfaceName: Given interface name.
- aMessageName: Given message name.
- aMessageType: Given message type.
processException final
Raises exception from server.
method processException
void processException()
readAnsiString
Calls to read ANSI string.
method readAnsiString(aName: String): String
String readAnsiString(String aName)
Parameters:
- aName: Given name.
readArray
Calls to read ArrayType.
method readArray(aName: String; aValue: Class): ArrayType
ArrayType readArray(String aName, Class aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
readBinary
Calls to read binary stream.
method readBinary(aName: String): array of SByte
SByte[] readBinary(String aName)
Parameters:
- aName: Given name.
readBoolean
Calls to read boolean.
method readBoolean(aName: String): Boolean
Boolean readBoolean(String aName)
Parameters:
- aName: Given name.
readByte
Calls to read byte.
method readByte(aName: String): Byte
Byte readByte(String aName)
Parameters:
- aName: Given name.
readComplex
Calls to read struct.
method readComplex(aName: String; aValue: Class): ComplexType
ComplexType readComplex(String aName, Class aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
readCurrency
Calls to read currency.
method readCurrency(aName: String): BigDecimal
BigDecimal readCurrency(String aName)
Parameters:
- aName: Given name.
readDateTime
Calls to read date.
method readDateTime(aName: String): Date
Date readDateTime(String aName)
Parameters:
- aName: Given name.
readDecimal
Calls to read decimal.
method readDecimal(aName: String): BigDecimal
BigDecimal readDecimal(String aName)
Parameters:
- aName: Given name.
readDouble
Calls to read double.
method readDouble(aName: String): Double
Double readDouble(String aName)
Parameters:
- aName: Given name.
readEnum
Calls to read enum.
method readEnum(aName: String): Integer
Integer readEnum(String aName)
Parameters:
- aName: Given name.
readException
Calls to read and raise exception.
method readException: ExceptionType
ExceptionType readException()
readFromStream final
For internal use, used by the RO/J framework to stream objects to a message packet.
method readFromStream(aStream: ByteArrayInputStream)
void readFromStream(ByteArrayInputStream aStream)
Parameters:
- aStream: Given stream.
readGuid
Calls to read uuid.
method readGuid(aName: String): UUID
UUID readGuid(String aName)
Parameters:
- aName: Given name.
readInt32
Calls to read integer.
method readInt32(aName: String): Integer
Integer readInt32(String aName)
Parameters:
- aName: Given name.
readInt64
Calls to read long.
method readInt64(aName: String): Long
Long readInt64(String aName)
Parameters:
- aName: Given name.
readNativeArray
method readNativeArray(aName: String; aValue: Class; aRodlType: String): array of Object
Object[] readNativeArray(String aName, Class aValue, String aRodlType)
Parameters:
- aName:
- aValue:
- aRodlType:
readNullableBoolean
method readNullableBoolean(aName: String): Boolean
Boolean readNullableBoolean(String aName)
Parameters:
- aName:
readNullableCurrency
method readNullableCurrency(aName: String): nullable BigDecimal
BigDecimal readNullableCurrency(String aName)
Parameters:
- aName:
readNullableDateTime
method readNullableDateTime(aName: String): nullable Date
Date readNullableDateTime(String aName)
Parameters:
- aName:
readNullableDecimal
method readNullableDecimal(aName: String): nullable BigDecimal
BigDecimal readNullableDecimal(String aName)
Parameters:
- aName:
readNullableDouble
method readNullableDouble(aName: String): Double
Double readNullableDouble(String aName)
Parameters:
- aName:
readNullableGuid
method readNullableGuid(aName: String): nullable UUID
UUID readNullableGuid(String aName)
Parameters:
- aName:
readNullableInt32
method readNullableInt32(aName: String): Integer
Integer readNullableInt32(String aName)
Parameters:
- aName:
readNullableInt64
method readNullableInt64(aName: String): Long
Long readNullableInt64(String aName)
Parameters:
- aName:
readUtf8String
Calls to read UTF8 string.
method readUtf8String(aName: String): String
String readUtf8String(String aName)
Parameters:
- aName: Given name.
readVariant
Call to this method to read VariantType.
method readVariant(aName: String): VariantType
VariantType readVariant(String aName)
Parameters:
- aName: Given name.
readWideString
Calls to read VariantType.
method readWideString(aName: String): String
String readWideString(String aName)
Parameters:
- aName: Given name.
readXml
Calls to read XmlType.
Parameters:
- aName: Given name.
setupAttributes
Sets attributes map.
method setupAttributes(aAttributes: HashMap<String, String>)
void setupAttributes(HashMap<String, String> aAttributes)
Parameters:
- aAttributes: Given value.
writeAnsiString
Calls to write ANSI string.
method writeAnsiString(aName: String; aValue: String)
void writeAnsiString(String aName, String aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeArray
Calls to write instance of ArrayType.
Parameters:
- aName: Given name.
- aValue: Given value.
writeBinary
Calls to write binary stream.
method writeBinary(aName: String; aValue: array of SByte)
void writeBinary(String aName, SByte[] aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeBoolean
Calls to write boolean.
method writeBoolean(aName: String; aValue: Boolean)
void writeBoolean(String aName, Boolean aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeByte
Calls to write byte.
method writeByte(aName: String; aValue: Byte)
void writeByte(String aName, Byte aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeComplex final
Calls to write currency.
method writeComplex(aName: String; aValue: ComplexType)
void writeComplex(String aName, ComplexType aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeCurrency
Call to this method to write currency.
method writeCurrency(aName: String; aValue: BigDecimal)
void writeCurrency(String aName, BigDecimal aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeDateTime
Calls to write date.
method writeDateTime(aName: String; aValue: Date)
void writeDateTime(String aName, Date aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeDecimal
Calls to write decimal.
method writeDecimal(aName: String; aValue: BigDecimal)
void writeDecimal(String aName, BigDecimal aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeDouble
Calls to write double.
method writeDouble(aName: String; aValue: Double)
void writeDouble(String aName, Double aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeEnum
Calls to write enum.
method writeEnum(aName: String; aValue: Integer)
void writeEnum(String aName, Integer aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeGuid
Calls to write uuid.
method writeGuid(aName: String; aValue: UUID)
void writeGuid(String aName, UUID aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeInt32
Calls to write integer.
method writeInt32(aName: String; aValue: Integer)
void writeInt32(String aName, Integer aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeInt64
Calls to write long.
method writeInt64(aName: String; aValue: Long)
void writeInt64(String aName, Long aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeNativeArray
method writeNativeArray(aName: String; aValue: array of Object; aRodlType: String)
void writeNativeArray(String aName, Object[] aValue, String aRodlType)
Parameters:
- aName:
- aValue:
- aRodlType:
writeNullableBoolean
method writeNullableBoolean(aName: String; aValue: Boolean)
void writeNullableBoolean(String aName, Boolean aValue)
Parameters:
- aName:
- aValue:
writeNullableCurrency
method writeNullableCurrency(aName: String; aValue: nullable BigDecimal)
void writeNullableCurrency(String aName, BigDecimal aValue)
Parameters:
- aName:
- aValue:
writeNullableDateTime
method writeNullableDateTime(aName: String; aValue: nullable Date)
void writeNullableDateTime(String aName, Date aValue)
Parameters:
- aName:
- aValue:
writeNullableDecimal
method writeNullableDecimal(aName: String; aValue: nullable BigDecimal)
void writeNullableDecimal(String aName, BigDecimal aValue)
Parameters:
- aName:
- aValue:
writeNullableDouble
method writeNullableDouble(aName: String; aValue: Double)
void writeNullableDouble(String aName, Double aValue)
Parameters:
- aName:
- aValue:
writeNullableGuid
method writeNullableGuid(aName: String; aValue: nullable UUID)
void writeNullableGuid(String aName, UUID aValue)
Parameters:
- aName:
- aValue:
writeNullableInt32
method writeNullableInt32(aName: String; aValue: Integer)
void writeNullableInt32(String aName, Integer aValue)
Parameters:
- aName:
- aValue:
writeNullableInt64
method writeNullableInt64(aName: String; aValue: Long)
void writeNullableInt64(String aName, Long aValue)
Parameters:
- aName:
- aValue:
writeToStream final
For internal use, used by the RO/J framework to stream objects to a message packet.
method writeToStream(aStream: ByteArrayOutputStream)
void writeToStream(ByteArrayOutputStream aStream)
Parameters:
- aStream: Given stream.
writeUtf8String
Calls to write UTF8 string.
method writeUtf8String(aName: String; aValue: String)
void writeUtf8String(String aName, String aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeVariant
Calls to write VariantType.
method writeVariant(aName: String; aValue: VariantType)
void writeVariant(String aName, VariantType aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeWideString
Calls to write wide string.
method writeWideString(aName: String; aValue: String)
void writeWideString(String aName, String aValue)
Parameters:
- aName: Given name.
- aValue: Given value.
writeXml
Calls to write XmlType.
Parameters:
- aName: Given name.
- aValue: Given value.
- .NET
- Java