C# 클래스 Telegram.MTProto.Network.TransportGateway

상속: IDisposable
파일 보기 프로젝트 열기: naphaso/kilogram

공개 메소드들

메소드 설명
ConnectAsync ( TelegramDC dc, int maxRetries ) : Task
Dispose ( ) : void
TransportGateway ( ) : System
TransportSend ( byte packet ) : bool

보호된 메소드들

메소드 설명
OnReceive ( byte packet ) : void

비공개 메소드들

메소드 설명
CheckInput ( ) : void
Connect ( TelegramDC dc ) : bool
OnConnected ( object sender, SocketAsyncEventArgs args ) : void
OnRead ( object sender, SocketAsyncEventArgs args ) : void
ReadAsync ( byte buffer = null ) : void
ReadInt ( byte array, long position ) : int
TryReconnect ( ) : void

메소드 상세

ConnectAsync() 공개 메소드

public ConnectAsync ( TelegramDC dc, int maxRetries ) : Task
dc TelegramDC
maxRetries int
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

OnReceive() 보호된 메소드

protected OnReceive ( byte packet ) : void
packet byte
리턴 void

TransportGateway() 공개 메소드

public TransportGateway ( ) : System
리턴 System

TransportSend() 공개 메소드

public TransportSend ( byte packet ) : bool
packet byte
리턴 bool