C# Class hessiancsharp.io.AbstractHessianInput

Parent of the HessianInput class. Declares read operations (access methods) from an InputStream.
Inheritance: CHessianProtocolConstants
Mostra file Open project: timfel/csharp-hessian Class Usage Examples

Protected Properties

Property Type Description
m_serializerFactory CSerializerFactory
m_strMethod String

Public Methods

Method Description
AddRef ( object objReference ) : int

Adds an object reference.

CompleteCall ( ) : void

Completes reading the call A successful completion will have a single value: z

CompleteReply ( ) : void

Completes reading the call A successful completion will have a single value: z

IsEnd ( ) : bool

Returns true if the data has ended.

ReadBoolean ( ) : bool

Reads a boolean T F

ReadBytes ( ) : byte[]

Reads a byte array.

ReadDouble ( ) : double

Reads a double. D b64 b56 b48 b40 b32 b24 b16 b8

ReadEnd ( ) : void

Read the end byte

ReadInputStream ( ) : Stream

Reads a InputStream.

ReadInt ( ) : int

Reads an integer I b32 b24 b16 b8

ReadLength ( ) : int

Reads the length of a list.

ReadListEnd ( ) : void

Read the end byte

ReadListStart ( ) : int

Reads the start of a list

ReadLong ( ) : long

Reads a long L b64 b56 b48 b40 b32 b24 b16 b8

ReadMapEnd ( ) : void

Reads the end of a list.

ReadMapStart ( ) : int

Reads the start of a list.

ReadObject ( ) : object

Reads an arbitrary object from the input stream.

ReadObject ( Type expectedType ) : object

Reads an arbitrary object from the input stream.

ReadRef ( ) : object

Reads a reference.

ReadReply ( Type expectedType ) : Object

Reads a reply as an object. If the reply has a fault, throws the exception.

ReadString ( ) : string

Reads a string encoded in UTF-8 s b16 b8 non-final string chunk S b16 b8 final string chunk

ReadType ( ) : String

Reads an object type.

ReadUTCDate ( ) : long

Reads utc date

StartCall ( ) : void

Starts reading the call A successful completion will have a single value: c major minor m b16 b8 method

StartReply ( ) : void

Starts reading the reply A successful completion will have a single value: r

Method Details

AddRef() public abstract method

Adds an object reference.
public abstract AddRef ( object objReference ) : int
objReference object Reference object
return int

CompleteCall() public abstract method

Completes reading the call A successful completion will have a single value: z
public abstract CompleteCall ( ) : void
return void

CompleteReply() public abstract method

Completes reading the call A successful completion will have a single value: z
public abstract CompleteReply ( ) : void
return void

IsEnd() public abstract method

Returns true if the data has ended.
public abstract IsEnd ( ) : bool
return bool

ReadBoolean() public abstract method

Reads a boolean T F
public abstract ReadBoolean ( ) : bool
return bool

ReadBytes() public abstract method

Reads a byte array.
public abstract ReadBytes ( ) : byte[]
return byte[]

ReadDouble() public abstract method

Reads a double. D b64 b56 b48 b40 b32 b24 b16 b8
public abstract ReadDouble ( ) : double
return double

ReadEnd() public abstract method

Read the end byte
public abstract ReadEnd ( ) : void
return void

ReadInputStream() public abstract method

Reads a InputStream.
public abstract ReadInputStream ( ) : Stream
return Stream

ReadInt() public abstract method

Reads an integer I b32 b24 b16 b8
public abstract ReadInt ( ) : int
return int

ReadLength() public abstract method

Reads the length of a list.
public abstract ReadLength ( ) : int
return int

ReadListEnd() public abstract method

Read the end byte
public abstract ReadListEnd ( ) : void
return void

ReadListStart() public abstract method

Reads the start of a list
public abstract ReadListStart ( ) : int
return int

ReadLong() public abstract method

Reads a long L b64 b56 b48 b40 b32 b24 b16 b8
public abstract ReadLong ( ) : long
return long

ReadMapEnd() public abstract method

Reads the end of a list.
public abstract ReadMapEnd ( ) : void
return void

ReadMapStart() public abstract method

Reads the start of a list.
public abstract ReadMapStart ( ) : int
return int

ReadObject() public abstract method

Reads an arbitrary object from the input stream.
public abstract ReadObject ( ) : object
return object

ReadObject() public abstract method

Reads an arbitrary object from the input stream.
public abstract ReadObject ( Type expectedType ) : object
expectedType System.Type The expected class of the value
return object

ReadRef() public abstract method

Reads a reference.
public abstract ReadRef ( ) : object
return object

ReadReply() public abstract method

Reads a reply as an object. If the reply has a fault, throws the exception.
public abstract ReadReply ( Type expectedType ) : Object
expectedType System.Type Expected class of the value
return Object

ReadString() public abstract method

Reads a string encoded in UTF-8 s b16 b8 non-final string chunk S b16 b8 final string chunk
public abstract ReadString ( ) : string
return string

ReadType() public abstract method

Reads an object type.
public abstract ReadType ( ) : String
return String

ReadUTCDate() public abstract method

Reads utc date
public abstract ReadUTCDate ( ) : long
return long

StartCall() public abstract method

Starts reading the call A successful completion will have a single value: c major minor m b16 b8 method
public abstract StartCall ( ) : void
return void

StartReply() public abstract method

Starts reading the reply A successful completion will have a single value: r
public abstract StartReply ( ) : void
return void

Property Details

m_serializerFactory protected_oe property

protected CSerializerFactory m_serializerFactory
return CSerializerFactory

m_strMethod protected_oe property

the method for a call
protected String m_strMethod
return String