Свойство | Тип | Описание | |
---|---|---|---|
m_serializerFactory | CSerializerFactory |
Метод | Описание | |
---|---|---|
AddRef ( object objReference ) : bool |
Adds an object to the reference list. If the object already exists, writes the reference, otherwise, the caller is responsible for the serialization
|
|
CompleteCall ( ) : void |
Writes the method call
|
|
CompleteReply ( ) : void |
Completes reading the reply. A successful completion will have a single value:
|
|
Init ( Stream stream ) : void |
Initialize the output with a new underlying stream
|
|
RemoveRef ( object objReference ) : bool |
Removes a reference
|
|
ReplaceRef ( object objOldReference, object objNewReference ) : bool |
Replaces a reference from one object to another
|
|
StartCall ( string strMethod ) : void |
Writes the method call:
|
|
StartReply ( ) : void | ||
WriteBoolean ( bool blnValue ) : void |
Writes a boolean value to the stream. The boolean will be written with the following syntax:
|
|
WriteByteBufferEnd ( byte arrbuffer, int intOffset, int intLength ) : void |
Writes the last chunk of a byte buffer to the stream
|
|
WriteByteBufferPart ( byte arrBuffer, int intOffset, int intLength ) : void |
Writes a part of the byte buffer to the stream
|
|
WriteBytes ( byte arrBuffer ) : void |
Writes a byte array to the stream. The array will be written with the following syntax:
|
|
WriteBytes ( byte arrBuffer, int intOffset, int intLength ) : void |
Writes a byte array to the stream. The array will be written with the following syntax:
|
|
WriteDouble ( double dblValue ) : void |
Writes a double value to the stream. The double will be written with the following syntax:
|
|
WriteFault ( string strCode, string strMessage, object objDetail ) : void |
Writes a fault. The fault will be written as a descriptive string followed by an object:
|
|
WriteInt ( int intValue ) : void |
Writes an integer value to the stream. The integer will be written with the following syntax:
|
|
WriteListBegin ( int intLength, string strType ) : void |
Writes the list header to the stream. List writers will call
|
|
WriteListEnd ( ) : void |
Writes the tail of the list to the stream
|
|
WriteLong ( long lngValue ) : void |
Writes a long value to the stream. The long will be written with the following syntax:
|
|
WriteMapBegin ( string strType ) : void |
Writes the map header to the stream. Map writers will call
|
|
WriteMapEnd ( ) : void |
Writes the tail of the map to the stream
|
|
WriteNull ( ) : void |
Writes a null value to the stream. The null will be written with the following syntax
|
|
WriteObject ( object obj ) : void |
Writes a generic object to the output stream
|
|
WriteRef ( int intValue ) : void |
Writes a reference
|
|
WriteRemote ( string strType, string strUrl ) : void |
Writes a remote object reference to the stream. The type is the type of the remote interface
|
|
WriteString ( String strValue ) : void |
Writes a string value to the stream using UTF-8 encoding. The string will be written with the following syntax:
|
|
WriteString ( char arrBuffer, int intOffset, int intLength ) : void |
Writes a string value to the stream using UTF-8 encoding. The string will be written with the following syntax:
|
|
WriteUTCDate ( long time ) : void |
Writes a date to the stream
|
public abstract AddRef ( object objReference ) : bool | ||
objReference | object | the object to add as a reference |
Результат | bool |
public abstract Init ( Stream stream ) : void | ||
stream | Stream | Stream - Instance for output |
Результат | void |
public abstract RemoveRef ( object objReference ) : bool | ||
objReference | object | Object reference to remove |
Результат | bool |
public abstract ReplaceRef ( object objOldReference, object objNewReference ) : bool | ||
objOldReference | object | Old object reference |
objNewReference | object | New object reference |
Результат | bool |
public abstract StartCall ( string strMethod ) : void | ||
strMethod | string | the method name to call |
Результат | void |
public abstract WriteBoolean ( bool blnValue ) : void | ||
blnValue | bool | the boolean value to write |
Результат | void |
public abstract WriteByteBufferEnd ( byte arrbuffer, int intOffset, int intLength ) : void | ||
arrbuffer | byte | Array with bytes to write |
intOffset | int | Vslue offset |
intLength | int | Value length |
Результат | void |
public abstract WriteByteBufferPart ( byte arrBuffer, int intOffset, int intLength ) : void | ||
arrBuffer | byte | Array with bytes to write |
intOffset | int | Vslue offset |
intLength | int | Value length |
Результат | void |
public abstract WriteBytes ( byte arrBuffer ) : void | ||
arrBuffer | byte | Array with bytes to write |
Результат | void |
public abstract WriteBytes ( byte arrBuffer, int intOffset, int intLength ) : void | ||
arrBuffer | byte | Array with bytes to write |
intOffset | int | Vslue offset |
intLength | int | Value length |
Результат | void |
public abstract WriteDouble ( double dblValue ) : void | ||
dblValue | double | the double value to write |
Результат | void |
public abstract WriteFault ( string strCode, string strMessage, object objDetail ) : void | ||
strCode | string | code the fault code |
strMessage | string | fault message |
objDetail | object | fault detail |
Результат | void |
public abstract WriteInt ( int intValue ) : void | ||
intValue | int | the integer value to write |
Результат | void |
public abstract WriteListBegin ( int intLength, string strType ) : void | ||
intLength | int | Length of array |
strType | string | Type name of the array |
Результат | void |
public abstract WriteLong ( long lngValue ) : void | ||
lngValue | long | the long value to write |
Результат | void |
public abstract WriteMapBegin ( string strType ) : void | ||
strType | string | Type of map |
Результат | void |
public abstract WriteObject ( object obj ) : void | ||
obj | object | Object to write |
Результат | void |
public abstract WriteRef ( int intValue ) : void | ||
intValue | int | he integer value to write |
Результат | void |
public abstract WriteRemote ( string strType, string strUrl ) : void | ||
strType | string | type of remote object |
strUrl | string | URL of remote object |
Результат | void |
public abstract WriteString ( String strValue ) : void | ||
strValue | String | the string value to write |
Результат | void |
public abstract WriteString ( char arrBuffer, int intOffset, int intLength ) : void | ||
arrBuffer | char | the value to write as string value |
intOffset | int | value offset |
intLength | int | value length |
Результат | void |
public abstract WriteUTCDate ( long time ) : void | ||
time | long | the date in milliseconds from the epoch in UTC |
Результат | void |