C# 클래스 ChatService.SocketChatClient

Class holding information and buffers for the Client socket connection
파일 보기 프로젝트 열기: aptana/frameworks 1 사용 예제들

공개 메소드들

메소드 설명
GetRecievedData ( IAsyncResult ar ) : byte[]

Data has been recieved so we shall put it in an array and return it.

SetupRecieveCallback ( ChatServer app ) : void

Setup the callback for recieved data and loss of conneciton

SocketChatClient ( Socket sock ) : System

Constructor

메소드 상세

GetRecievedData() 공개 메소드

Data has been recieved so we shall put it in an array and return it.
public GetRecievedData ( IAsyncResult ar ) : byte[]
ar IAsyncResult
리턴 byte[]

SetupRecieveCallback() 공개 메소드

Setup the callback for recieved data and loss of conneciton
public SetupRecieveCallback ( ChatServer app ) : void
app ChatServer
리턴 void

SocketChatClient() 공개 메소드

Constructor
public SocketChatClient ( Socket sock ) : System
sock Socket client socket conneciton this object represents
리턴 System