C# Class Server_Application_Console.RTCServer

Inheritance: TCPServer
ファイルを表示 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 ( ) : Task
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 ( ) : Task
return Task

stopServer() public method

public stopServer ( ) : void
return void

Property Details

IDLock public_oe static_oe property

public static object IDLock
return object

connectExpected public_oe static_oe property

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

connected public_oe static_oe property

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