C# Class Server_application.ResourceServer

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

Public Properties

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

Protected Properties

Property Type Description
listener System.Net.Sockets.TcpListener
listenerStarted bool

Public Methods

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

Private Methods

Method Description
transmitter ( Object client ) : void

Method Details

ResourceServer() public method

public ResourceServer ( 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_oe static_oe property

public static object IDLock
return object

arrayLength public_oe property

public int arrayLength
return int

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

listener protected_oe static_oe property

protected static TcpListener,System.Net.Sockets listener
return System.Net.Sockets.TcpListener

listenerStarted protected_oe static_oe property

protected static bool listenerStarted
return bool