C# 클래스 YGOSharp.Network.BinaryClient

파일 보기 프로젝트 열기: IceYGO/ygosharp

보호된 프로퍼티들

프로퍼티 타입 설명
HeaderSize int
IsHeaderSizeIncluded bool
MaxPacketLength int

공개 메소드들

메소드 설명
BinaryClient ( NetworkClient client ) : System
Close ( Exception error = null ) : void
Connect ( IPAddress address, int port ) : void
Initialize ( Socket socket ) : void
Send ( byte packet ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
Client_Connected ( ) : void
Client_DataReceived ( byte data ) : void
Client_Disconnected ( Exception ex ) : void
ExtractPackets ( ) : void
ExtractPendingLength ( ) : bool
ExtractPendingPacket ( ) : bool
ReceivePendingPackets ( ) : void

메소드 상세

BinaryClient() 공개 메소드

public BinaryClient ( NetworkClient client ) : System
client NetworkClient
리턴 System

Close() 공개 메소드

public Close ( Exception error = null ) : void
error System.Exception
리턴 void

Connect() 공개 메소드

public Connect ( IPAddress address, int port ) : void
address System.Net.IPAddress
port int
리턴 void

Initialize() 공개 메소드

public Initialize ( Socket socket ) : void
socket Socket
리턴 void

Send() 공개 메소드

public Send ( byte packet ) : void
packet byte
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

HeaderSize 보호되어 있는 프로퍼티

protected int HeaderSize
리턴 int

IsHeaderSizeIncluded 보호되어 있는 프로퍼티

protected bool IsHeaderSizeIncluded
리턴 bool

MaxPacketLength 보호되어 있는 프로퍼티

protected int MaxPacketLength
리턴 int