C# 클래스 GameCreatorGroupProject.MainClient

파일 보기 프로젝트 열기: HeroOfTheWinds/CS-350-410-431-Group-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
available Queue
clients List

공개 메소드들

메소드 설명
connectClient ( byte serverType, uint serverID, uint clientID ) : bool
connectClient ( string serverIP ) : void
disconnect ( ) : void
disconnectClient ( TCPClient c ) : void
getAvailable ( ) : TCPClient
getThisClientID ( ) : uint
getUsername ( ) : string
isConnected ( ) : bool
isOnline ( uint clientID ) : bool
requestChatServer ( ) : uint
requestRTCServer ( ) : uint
requestResourceServer ( ) : uint
setUsername ( string name ) : void

비공개 메소드들

메소드 설명
onConnect ( IAsyncResult ar ) : bool
send ( byte type ) : uint
startClient ( object connectClient ) : void

메소드 상세

connectClient() 공개 메소드

public connectClient ( byte serverType, uint serverID, uint clientID ) : bool
serverType byte
serverID uint
clientID uint
리턴 bool

connectClient() 공개 메소드

public connectClient ( string serverIP ) : void
serverIP string
리턴 void

disconnect() 공개 메소드

public disconnect ( ) : void
리턴 void

disconnectClient() 공개 메소드

public disconnectClient ( TCPClient c ) : void
c TCPClient
리턴 void

getAvailable() 공개 메소드

public getAvailable ( ) : TCPClient
리턴 TCPClient

getThisClientID() 공개 정적인 메소드

public static getThisClientID ( ) : uint
리턴 uint

getUsername() 공개 정적인 메소드

public static getUsername ( ) : string
리턴 string

isConnected() 공개 메소드

public isConnected ( ) : bool
리턴 bool

isOnline() 공개 메소드

public isOnline ( uint clientID ) : bool
clientID uint
리턴 bool

requestChatServer() 공개 메소드

public requestChatServer ( ) : uint
리턴 uint

requestRTCServer() 공개 메소드

public requestRTCServer ( ) : uint
리턴 uint

requestResourceServer() 공개 메소드

public requestResourceServer ( ) : uint
리턴 uint

setUsername() 공개 정적인 메소드

public static setUsername ( string name ) : void
name string
리턴 void

프로퍼티 상세

available 정적으로 공개적으로 프로퍼티

static public Queue available
리턴 Queue

clients 공개적으로 정적으로 프로퍼티

public static List clients
리턴 List