C# Class Server_application.RTCServer

Inheritance: TCPServer
Show file Open project: HeroOfTheWinds/CS-350-410-431-Group-Project Class Usage Examples

Public Properties

Property Type Description
IDLock object
connectExpected System.Threading.ManualResetEventSlim
connected System.Threading.ManualResetEventSlim

Public Methods

Method Description
RTCServer ( uint serverID ) : System
getCurrentID ( ) : uint
setCurrentID ( uint ID ) : void
setExpectedClient ( uint clientID ) : void
startServer ( ) : void
stopServer ( ) : void

Method Details

RTCServer() public method

public RTCServer ( uint serverID ) : System
serverID uint
return System

getCurrentID() public static method

public static getCurrentID ( ) : uint
return uint

setCurrentID() public static method

public static setCurrentID ( uint ID ) : void
ID uint
return void

setExpectedClient() public static method

public static setExpectedClient ( uint clientID ) : void
clientID uint
return void

startServer() public method

public startServer ( ) : void
return void

stopServer() public method

public stopServer ( ) : void
return void

Property Details

IDLock public static property

public static object IDLock
return object

connectExpected public static property

public static ManualResetEventSlim,System.Threading connectExpected
return System.Threading.ManualResetEventSlim

connected public static property

public static ManualResetEventSlim,System.Threading connected
return System.Threading.ManualResetEventSlim