C# 클래스 Mono.Data.Tds.Protocol.TdsComm

파일 보기 프로젝트 열기: kumpera/mono 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AppendInternal void
AppendInternal void
GetPhysicalPacket void
GetPhysicalPacketData void
GetPhysicalPacketHeader int
Ntohs int
Poll bool
Read int
ResizeOutBuf void
SendPhysicalPacket void
Store void
Store void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Append() 공개 메소드

public Append ( string s, int len, byte pad ) : byte[]
s string
len int
pad byte
리턴 byte[]

Append() 공개 메소드

public Append ( System.DateTime t, int bytes ) : void
t System.DateTime
bytes int
리턴 void

Append() 공개 메소드

public Append ( byte b ) : void
b byte
리턴 void

Append() 공개 메소드

public Append ( byte b, int len, byte pad ) : void
b byte
len int
pad byte
리턴 void

Append() 공개 메소드

public Append ( decimal d, int bytes ) : void
d decimal
bytes int
리턴 void

Append() 공개 메소드

public Append ( double value ) : void
value double
리턴 void

Append() 공개 메소드

public Append ( float value ) : void
value float
리턴 void

Append() 공개 메소드

public Append ( int i ) : void
i int
리턴 void

Append() 공개 메소드

public Append ( long l ) : void
l long
리턴 void

Append() 공개 메소드

public Append ( object o ) : void
o object
리턴 void

Append() 공개 메소드

public Append ( short s ) : void
s short
리턴 void

Append() 공개 메소드

public Append ( string s ) : void
s string
리턴 void

Append() 공개 메소드

public Append ( ushort s ) : void
s ushort
리턴 void

BeginReadPacket() 공개 메소드

public BeginReadPacket ( AsyncCallback callback, object stateObject ) : IAsyncResult
callback AsyncCallback
stateObject object
리턴 IAsyncResult

Close() 공개 메소드

public Close ( ) : void
리턴 void

EndReadPacket() 공개 메소드

public EndReadPacket ( IAsyncResult ar ) : int
ar IAsyncResult
리턴 int

GetByte() 공개 메소드

public GetByte ( ) : byte
리턴 byte

GetBytes() 공개 메소드

public GetBytes ( int len, bool exclusiveBuffer ) : byte[]
len int
exclusiveBuffer bool
리턴 byte[]

GetNetShort() 공개 메소드

public GetNetShort ( ) : int
리턴 int

GetString() 공개 메소드

public GetString ( int len ) : string
len int
리턴 string

GetString() 공개 메소드

public GetString ( int len, Encoding enc ) : string
len int
enc System.Text.Encoding
리턴 string

GetString() 공개 메소드

public GetString ( int len, bool wide ) : string
len int
wide bool
리턴 string

GetString() 공개 메소드

public GetString ( int len, bool wide, Encoding enc ) : string
len int
wide bool
enc System.Text.Encoding
리턴 string

GetTdsInt() 공개 메소드

public GetTdsInt ( ) : int
리턴 int

GetTdsInt64() 공개 메소드

public GetTdsInt64 ( ) : long
리턴 long

GetTdsShort() 공개 메소드

public GetTdsShort ( ) : short
리턴 short

IsConnected() 공개 메소드

public IsConnected ( ) : bool
리턴 bool

OnReadPacketCallback() 공개 메소드

public OnReadPacketCallback ( IAsyncResult socketAsyncResult ) : void
socketAsyncResult IAsyncResult
리턴 void

Peek() 공개 메소드

public Peek ( ) : byte
리턴 byte

Poll() 공개 메소드

public Poll ( int seconds, SelectMode selectMode ) : bool
seconds int
selectMode SelectMode
리턴 bool

SendIfFull() 공개 메소드

public SendIfFull ( ) : void
리턴 void

SendIfFull() 공개 메소드

public SendIfFull ( int reserve ) : void
reserve int
리턴 void

SendPacket() 공개 메소드

public SendPacket ( ) : void
리턴 void

Skip() 공개 메소드

public Skip ( long i ) : void
i long
리턴 void

StartPacket() 공개 메소드

public StartPacket ( TdsPacketType type ) : void
type TdsPacketType
리턴 void

Swap() 공개 메소드

public Swap ( byte toswap ) : byte[]
toswap byte
리턴 byte[]

TdsComm() 공개 메소드

public TdsComm ( string dataSource, int port, int packetSize, int timeout, TdsVersion tdsVersion ) : System
dataSource string
port int
packetSize int
timeout int
tdsVersion TdsVersion
리턴 System