Skip to content

Scheduler ​

Scheduler takes input from the socket threads via the CommunicationQueue and sends the request to USB via a serial port interface.

Kind: Class

Namespace: ConnectorLib.sd2snes

Inheritance: IDisposable

Public Constructors

Scheduler(string name, ConcurrentDictionary ports)

Creates a new instance of the ConnectorLib.sd2snes.Scheduler class.

Public Member Functions

void

Dispose()

Clean up any resources being used.

void

Stop()

Communicates to the main thread to stop executing and return.

Properties

bool

CoreConnected

[get, ]

Whether or not the core is connected to the USB interface.

bool

ConnectionState

[get, ]

Indicates whether the connection is currently active.

ConcurrentDictionary

Clients

[get, ]

Dictionary of connected clients.

Events

EventHandler<bool>

ConnectionStateChanged

Called when the connection state changes.