C# 클래스 Server_application.ChatServer

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

공개 프로퍼티들

프로퍼티 타입 설명
IDLock object
connectExpected System.Threading.ManualResetEventSlim
connected System.Threading.ManualResetEventSlim

보호된 프로퍼티들

프로퍼티 타입 설명
listener System.Net.Sockets.TcpListener
listenerStarted bool

공개 메소드들

메소드 설명
ChatServer ( uint serverID ) : System
getCurrentID ( ) : uint
setCurrentID ( uint ID ) : void
setExpectedClient ( uint clientID ) : void
startServer ( ) : void
stopServer ( ) : void

비공개 메소드들

메소드 설명
transmitter ( Object client ) : void

메소드 상세

ChatServer() 공개 메소드

public ChatServer ( uint serverID ) : System
serverID uint
리턴 System

getCurrentID() 공개 정적인 메소드

public static getCurrentID ( ) : uint
리턴 uint

setCurrentID() 공개 정적인 메소드

public static setCurrentID ( uint ID ) : void
ID uint
리턴 void

setExpectedClient() 공개 정적인 메소드

public static setExpectedClient ( uint clientID ) : void
clientID uint
리턴 void

startServer() 공개 메소드

public startServer ( ) : void
리턴 void

stopServer() 공개 메소드

public stopServer ( ) : void
리턴 void

프로퍼티 상세

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

public static object IDLock
리턴 object

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

public static ManualResetEventSlim,System.Threading connectExpected
리턴 System.Threading.ManualResetEventSlim

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

public static ManualResetEventSlim,System.Threading connected
리턴 System.Threading.ManualResetEventSlim

listener 보호되어 있는 정적으로 프로퍼티

protected static TcpListener,System.Net.Sockets listener
리턴 System.Net.Sockets.TcpListener

listenerStarted 보호되어 있는 정적으로 프로퍼티

protected static bool listenerStarted
리턴 bool