C# Класс hessiancsharp.io.AbstractHessianInput

Parent of the HessianInput class. Declares read operations (access methods) from an InputStream.
Наследование: CHessianProtocolConstants
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_serializerFactory CSerializerFactory
m_strMethod String

Открытые методы

Метод Описание
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

Описание методов

AddRef() публичный абстрактный Метод

Adds an object reference.
public abstract AddRef ( object objReference ) : int
objReference object Reference object
Результат int

CompleteCall() публичный абстрактный Метод

Completes reading the call A successful completion will have a single value: z
public abstract CompleteCall ( ) : void
Результат void

CompleteReply() публичный абстрактный Метод

Completes reading the call A successful completion will have a single value: z
public abstract CompleteReply ( ) : void
Результат void

IsEnd() публичный абстрактный Метод

Returns true if the data has ended.
public abstract IsEnd ( ) : bool
Результат bool

ReadBoolean() публичный абстрактный Метод

Reads a boolean T F
public abstract ReadBoolean ( ) : bool
Результат bool

ReadBytes() публичный абстрактный Метод

Reads a byte array.
public abstract ReadBytes ( ) : byte[]
Результат byte[]

ReadDouble() публичный абстрактный Метод

Reads a double. D b64 b56 b48 b40 b32 b24 b16 b8
public abstract ReadDouble ( ) : double
Результат double

ReadEnd() публичный абстрактный Метод

Read the end byte
public abstract ReadEnd ( ) : void
Результат void

ReadInputStream() публичный абстрактный Метод

Reads a InputStream.
public abstract ReadInputStream ( ) : Stream
Результат Stream

ReadInt() публичный абстрактный Метод

Reads an integer I b32 b24 b16 b8
public abstract ReadInt ( ) : int
Результат int

ReadLength() публичный абстрактный Метод

Reads the length of a list.
public abstract ReadLength ( ) : int
Результат int

ReadListEnd() публичный абстрактный Метод

Read the end byte
public abstract ReadListEnd ( ) : void
Результат void

ReadListStart() публичный абстрактный Метод

Reads the start of a list
public abstract ReadListStart ( ) : int
Результат int

ReadLong() публичный абстрактный Метод

Reads a long L b64 b56 b48 b40 b32 b24 b16 b8
public abstract ReadLong ( ) : long
Результат long

ReadMapEnd() публичный абстрактный Метод

Reads the end of a list.
public abstract ReadMapEnd ( ) : void
Результат void

ReadMapStart() публичный абстрактный Метод

Reads the start of a list.
public abstract ReadMapStart ( ) : int
Результат int

ReadObject() публичный абстрактный Метод

Reads an arbitrary object from the input stream.
public abstract ReadObject ( ) : object
Результат object

ReadObject() публичный абстрактный Метод

Reads an arbitrary object from the input stream.
public abstract ReadObject ( Type expectedType ) : object
expectedType System.Type The expected class of the value
Результат object

ReadRef() публичный абстрактный Метод

Reads a reference.
public abstract ReadRef ( ) : object
Результат object

ReadReply() публичный абстрактный Метод

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
Результат Object

ReadString() публичный абстрактный Метод

Reads a string encoded in UTF-8 s b16 b8 non-final string chunk S b16 b8 final string chunk
public abstract ReadString ( ) : string
Результат string

ReadType() публичный абстрактный Метод

Reads an object type.
public abstract ReadType ( ) : String
Результат String

ReadUTCDate() публичный абстрактный Метод

Reads utc date
public abstract ReadUTCDate ( ) : long
Результат long

StartCall() публичный абстрактный Метод

Starts reading the call A successful completion will have a single value: c major minor m b16 b8 method
public abstract StartCall ( ) : void
Результат void

StartReply() публичный абстрактный Метод

Starts reading the reply A successful completion will have a single value: r
public abstract StartReply ( ) : void
Результат void

Описание свойств

m_serializerFactory защищенное свойство

protected CSerializerFactory m_serializerFactory
Результат CSerializerFactory

m_strMethod защищенное свойство

the method for a call
protected String m_strMethod
Результат String