Property | Type | Description | |
---|---|---|---|
m_srOutput | Stream |
Method | Description | |
---|---|---|
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
|
|
CHessianOutput ( Stream srOutput ) : System |
Constructor
|
|
Call ( string strMethod, object args ) : void |
Writes a complete method call.
|
|
CompleteCall ( ) : void |
Completes call
|
|
CompleteReply ( ) : void |
Completes reading the reply. A successful completion will have a single value:
|
|
Init ( Stream srOutput ) : void |
Initializes the output
|
|
PrintLenString ( string strValue ) : void |
Prints a string to the stream, encoded as UTF-8 with preceeding length
|
|
PrintString ( String strValue ) : void |
Prints a string to the stream, encoded as UTF-8
|
|
PrintString ( char arrData, int intOffset, int intLength ) : void |
Prints a char array to the stream, encoded as UTF-8
|
|
PrintString ( string strValue, int intOffset, int intLength ) : void |
Prints a string to the stream, encoded as UTF-8
|
|
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 |
Starts the method call. Clients would use
|
|
StartReply ( ) : void |
Starts the reply. A successful completion will have a single value:
|
|
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:
|
|
WriteHeader ( string strHeaderName ) : void |
Writes a header name. The header value must immediately follow.
|
|
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 any 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 ( 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:
|
|
WriteString ( string strValue ) : void |
Writes a string value to the stream using UTF-8 encoding. The string will be written with the following syntax:
|
|
WriteUTCDate ( long lngTime ) : void |
Writes a date to the stream.
|
public AddRef ( object objReference ) : bool | ||
objReference | object | the object to add as a reference |
return | bool |
public CHessianOutput ( Stream srOutput ) : System | ||
srOutput | Stream | Output stream |
return | System |
public Call ( string strMethod, object args ) : void | ||
strMethod | string | Method name |
args | object | Method args |
return | void |
public Init ( Stream srOutput ) : void | ||
srOutput | Stream | Output stream |
return | void |
public PrintLenString ( string strValue ) : void | ||
strValue | string | the string to print |
return | void |
public PrintString ( String strValue ) : void | ||
strValue | String | the string to print |
return | void |
public PrintString ( char arrData, int intOffset, int intLength ) : void | ||
arrData | char | the char data to print |
intOffset | int | data offset |
intLength | int | data length |
return | void |
public PrintString ( string strValue, int intOffset, int intLength ) : void | ||
strValue | string | the string to print |
intOffset | int | data offset |
intLength | int | data length |
return | void |
public RemoveRef ( object objReference ) : bool | ||
objReference | object | Object reference to remove |
return | bool |
public ReplaceRef ( object objOldReference, object objNewReference ) : bool | ||
objOldReference | object | Old object reference |
objNewReference | object | New object reference |
return | bool |
public StartCall ( string strMethod ) : void | ||
strMethod | string | method the method name to call. |
return | void |
public WriteBoolean ( bool blnValue ) : void | ||
blnValue | bool | the boolean value to write. |
return | void |
public WriteByteBufferEnd ( byte arrBuffer, int intOffset, int intLength ) : void | ||
arrBuffer | byte | Array with bytes to write |
intOffset | int | Vslue offset |
intLength | int | Value length |
return | void |
public WriteByteBufferPart ( byte arrBuffer, int intOffset, int intLength ) : void | ||
arrBuffer | byte | Array with bytes to write |
intOffset | int | Vslue offset |
intLength | int | Value length |
return | void |
public WriteBytes ( byte arrBuffer ) : void | ||
arrBuffer | byte | the string value to write |
return | void |
public WriteBytes ( byte arrBuffer, int intOffset, int intLength ) : void | ||
arrBuffer | byte | the array with the data to write |
intOffset | int | data offset |
intLength | int | data length |
return | void |
public WriteDouble ( double dblValue ) : void | ||
dblValue | double | the double value to write |
return | void |
public WriteFault ( string strCode, string strMessage, object objDetail ) : void | ||
strCode | string | code the fault code |
strMessage | string | fault message |
objDetail | object | fault detail |
return | void |
public WriteHeader ( string strHeaderName ) : void | ||
strHeaderName | string | Header name |
return | void |
public WriteInt ( int intValue ) : void | ||
intValue | int | the integer value to write. |
return | void |
public WriteListBegin ( int intLength, string strType ) : void | ||
intLength | int | |
strType | string | |
return | void |
public WriteLong ( long lngValue ) : void | ||
lngValue | long | the long value to write. |
return | void |
public WriteMapBegin ( string strType ) : void | ||
strType | string | Map - Type |
return | void |
public WriteObject ( object obj ) : void | ||
obj | object | object to write |
return | void |
public WriteRef ( int intValue ) : void | ||
intValue | int | he integer value to write |
return | void |
public WriteRemote ( string strType, string strUrl ) : void | ||
strType | string | Type of the remote instance |
strUrl | string | Url of the remote instance |
return | void |
public WriteString ( char arrBuffer, int intOffset, int intLength ) : void | ||
arrBuffer | char | char buffer with data for writing |
intOffset | int | length of chars, that have to be written |
intLength | int | offset for writing |
return | void |
public WriteString ( string strValue ) : void | ||
strValue | string | the string value to write. |
return | void |
public WriteUTCDate ( long lngTime ) : void | ||
lngTime | long | the date in milliseconds from the epoch in UTC |
return | void |