C# Class Mono.Data.Tds.Protocol.TdsComm

Afficher le fichier Open project: kumpera/mono Class Usage Examples

Private Properties

Свойство Type Description
AppendInternal void
AppendInternal void
GetPhysicalPacket void
GetPhysicalPacketData void
GetPhysicalPacketHeader int
Ntohs int
Poll bool
Read int
ResizeOutBuf void
SendPhysicalPacket void
Store void
Store void

Méthodes publiques

Méthode Description
Append ( string s, int len, byte pad ) : byte[]
Append ( System.DateTime t, int bytes ) : void
Append ( byte b ) : void
Append ( byte b, int len, byte pad ) : void
Append ( decimal d, int bytes ) : void
Append ( double value ) : void
Append ( float value ) : void
Append ( int i ) : void
Append ( long l ) : void
Append ( object o ) : void
Append ( short s ) : void
Append ( string s ) : void
Append ( ushort s ) : void
BeginReadPacket ( AsyncCallback callback, object stateObject ) : IAsyncResult
Close ( ) : void
EndReadPacket ( IAsyncResult ar ) : int
GetByte ( ) : byte
GetBytes ( int len, bool exclusiveBuffer ) : byte[]
GetNetShort ( ) : int
GetString ( int len ) : string
GetString ( int len, Encoding enc ) : string
GetString ( int len, bool wide ) : string
GetString ( int len, bool wide, Encoding enc ) : string
GetTdsInt ( ) : int
GetTdsInt64 ( ) : long
GetTdsShort ( ) : short
IsConnected ( ) : bool
OnReadPacketCallback ( IAsyncResult socketAsyncResult ) : void
Peek ( ) : byte
Poll ( int seconds, SelectMode selectMode ) : bool
SendIfFull ( ) : void
SendIfFull ( int reserve ) : void
SendPacket ( ) : void
Skip ( long i ) : void
StartPacket ( TdsPacketType type ) : void
Swap ( byte toswap ) : byte[]
TdsComm ( string dataSource, int port, int packetSize, int timeout, TdsVersion tdsVersion ) : System

Private Methods

Méthode Description
AppendInternal ( int i ) : void
AppendInternal ( short s ) : void
GetPhysicalPacket ( ) : void
GetPhysicalPacketData ( int length ) : void
GetPhysicalPacketHeader ( ) : int
Ntohs ( byte buf, int offset ) : int
Poll ( Socket s, int seconds, SelectMode selectMode ) : bool
Read ( byte buffer, int offset, int count ) : int
ResizeOutBuf ( int newSize ) : void
SendPhysicalPacket ( bool isLastSegment ) : void
Store ( int index, byte value ) : void
Store ( int index, short value ) : void

Method Details

Append() public méthode

public Append ( string s, int len, byte pad ) : byte[]
s string
len int
pad byte
Résultat byte[]

Append() public méthode

public Append ( System.DateTime t, int bytes ) : void
t System.DateTime
bytes int
Résultat void

Append() public méthode

public Append ( byte b ) : void
b byte
Résultat void

Append() public méthode

public Append ( byte b, int len, byte pad ) : void
b byte
len int
pad byte
Résultat void

Append() public méthode

public Append ( decimal d, int bytes ) : void
d decimal
bytes int
Résultat void

Append() public méthode

public Append ( double value ) : void
value double
Résultat void

Append() public méthode

public Append ( float value ) : void
value float
Résultat void

Append() public méthode

public Append ( int i ) : void
i int
Résultat void

Append() public méthode

public Append ( long l ) : void
l long
Résultat void

Append() public méthode

public Append ( object o ) : void
o object
Résultat void

Append() public méthode

public Append ( short s ) : void
s short
Résultat void

Append() public méthode

public Append ( string s ) : void
s string
Résultat void

Append() public méthode

public Append ( ushort s ) : void
s ushort
Résultat void

BeginReadPacket() public méthode

public BeginReadPacket ( AsyncCallback callback, object stateObject ) : IAsyncResult
callback AsyncCallback
stateObject object
Résultat IAsyncResult

Close() public méthode

public Close ( ) : void
Résultat void

EndReadPacket() public méthode

public EndReadPacket ( IAsyncResult ar ) : int
ar IAsyncResult
Résultat int

GetByte() public méthode

public GetByte ( ) : byte
Résultat byte

GetBytes() public méthode

public GetBytes ( int len, bool exclusiveBuffer ) : byte[]
len int
exclusiveBuffer bool
Résultat byte[]

GetNetShort() public méthode

public GetNetShort ( ) : int
Résultat int

GetString() public méthode

public GetString ( int len ) : string
len int
Résultat string

GetString() public méthode

public GetString ( int len, Encoding enc ) : string
len int
enc System.Text.Encoding
Résultat string

GetString() public méthode

public GetString ( int len, bool wide ) : string
len int
wide bool
Résultat string

GetString() public méthode

public GetString ( int len, bool wide, Encoding enc ) : string
len int
wide bool
enc System.Text.Encoding
Résultat string

GetTdsInt() public méthode

public GetTdsInt ( ) : int
Résultat int

GetTdsInt64() public méthode

public GetTdsInt64 ( ) : long
Résultat long

GetTdsShort() public méthode

public GetTdsShort ( ) : short
Résultat short

IsConnected() public méthode

public IsConnected ( ) : bool
Résultat bool

OnReadPacketCallback() public méthode

public OnReadPacketCallback ( IAsyncResult socketAsyncResult ) : void
socketAsyncResult IAsyncResult
Résultat void

Peek() public méthode

public Peek ( ) : byte
Résultat byte

Poll() public méthode

public Poll ( int seconds, SelectMode selectMode ) : bool
seconds int
selectMode SelectMode
Résultat bool

SendIfFull() public méthode

public SendIfFull ( ) : void
Résultat void

SendIfFull() public méthode

public SendIfFull ( int reserve ) : void
reserve int
Résultat void

SendPacket() public méthode

public SendPacket ( ) : void
Résultat void

Skip() public méthode

public Skip ( long i ) : void
i long
Résultat void

StartPacket() public méthode

public StartPacket ( TdsPacketType type ) : void
type TdsPacketType
Résultat void

Swap() public méthode

public Swap ( byte toswap ) : byte[]
toswap byte
Résultat byte[]

TdsComm() public méthode

public TdsComm ( string dataSource, int port, int packetSize, int timeout, TdsVersion tdsVersion ) : System
dataSource string
port int
packetSize int
timeout int
tdsVersion TdsVersion
Résultat System