C# 클래스 MySql.Data.MySqlClient.MySqlStream

Summary description for MySqlStream.
파일 보기 프로젝트 열기: Top-Cat/SteamBot 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ReadFully void

공개 메소드들

메소드 설명
Close ( ) : void
LoadPacket ( ) : void

LoadPacket loads up and decodes the header of the incoming packet.

MySqlStream ( Encoding encoding ) : System
MySqlStream ( Stream baseStream, Encoding encoding, bool compress ) : System
ReadPacket ( ) : MySqlPacket

ReadPacket is called by NativeDriver to start reading the next packet on the stream.

ResetTimeout ( int timeout ) : void
SendEntirePacketDirectly ( byte buffer, int count ) : void
SendPacket ( MySqlPacket packet ) : void

비공개 메소드들

메소드 설명
ReadFully ( Stream stream, byte buffer, int offset, int count ) : void

Reads the specified number of bytes from the stream and stores them at given offset in the buffer. Throws EndOfStreamException if not all bytes can be read.

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

LoadPacket() 공개 메소드

LoadPacket loads up and decodes the header of the incoming packet.
public LoadPacket ( ) : void
리턴 void

MySqlStream() 공개 메소드

public MySqlStream ( Encoding encoding ) : System
encoding System.Text.Encoding
리턴 System

MySqlStream() 공개 메소드

public MySqlStream ( Stream baseStream, Encoding encoding, bool compress ) : System
baseStream Stream
encoding System.Text.Encoding
compress bool
리턴 System

ReadPacket() 공개 메소드

ReadPacket is called by NativeDriver to start reading the next packet on the stream.
public ReadPacket ( ) : MySqlPacket
리턴 MySqlPacket

ResetTimeout() 공개 메소드

public ResetTimeout ( int timeout ) : void
timeout int
리턴 void

SendEntirePacketDirectly() 공개 메소드

public SendEntirePacketDirectly ( byte buffer, int count ) : void
buffer byte
count int
리턴 void

SendPacket() 공개 메소드

public SendPacket ( MySqlPacket packet ) : void
packet MySqlPacket
리턴 void