C# 클래스 HaloOnline.Server.Core.Log.ConnectionHandler

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

공개 메소드들

메소드 설명
BeginConnection ( AsyncCallback connectionCallback ) : IAsyncResult
ConnectionHandler ( TcpClient client, IConnection connection, int clientPort ) : System

비공개 메소드들

메소드 설명
CreateDummyPacket ( byte messageType, string content, int packetSize ) : byte[]
Disconnect ( ) : void
DoBeginConnection ( ) : void
LogMessage ( IPEndPoint endPoint, byte buffer, int commandSize, MessageType messageType ) : void
ReadCallback ( IAsyncResult ar ) : void
ReadCommand ( IPEndPoint endPoint, byte buffer ) : void
ReplyWithDummyData ( IPEndPoint endPoint ) : void

메소드 상세

BeginConnection() 공개 메소드

public BeginConnection ( AsyncCallback connectionCallback ) : IAsyncResult
connectionCallback AsyncCallback
리턴 IAsyncResult

ConnectionHandler() 공개 메소드

public ConnectionHandler ( TcpClient client, IConnection connection, int clientPort ) : System
client System.Net.Sockets.TcpClient
connection IConnection
clientPort int
리턴 System