The MineServer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
MineServer |
Initializes a new instance of the Server class.
|
Methods
Name | Description | |
---|---|---|
![]() |
ClearCommandQueue |
Clear queue of all commands to be sent to sensor
|
![]() |
EnqueueCommand |
Queues sensor specific command to be sent down
|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FindGateway |
Access to the object instances used by the server. Returns null if gatewayID does not belong to any of the registered gateways.
|
![]() |
FindSensor |
Access to the object instances used by the server. Returns null if sensorID does not belong to any of the registered gateways.
|
![]() |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnGatewayMessage |
Fires Gateway event.
|
![]() |
OnLogException |
Fires the LogException event.
|
![]() |
OnPersistGateway |
Fires PersistGateway event.
|
![]() |
OnPersistSensor |
Fires PersitSensor event.
|
![]() |
OnSensorMessages |
Fires the SensorMessage event.
|
![]() |
RegisterGateway |
Adds the gateway to the servers list of valid objects
|
![]() |
RegisterSensor |
Adds the sensor to the servers list of valid objects
|
![]() |
RemoveGateway |
Removes the gateway from the servers list of valid objects
|
![]() |
RemoveSensor |
Removes the sensor from the servers list of valid objects
|
![]() |
StartServer |
This call starts the socket listeners that the gateways will use to communicate
|
![]() |
StopServer |
This call stops the socket listeners that the gateways will use to communicate
|
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
![]() |
GatewayMessage |
Fired when a message is received from a gateway.
|
![]() |
LogException |
Fired when an exception is caught allowing the exception to be logged.
|
![]() |
PersistGateway |
Fired when changes have been made to the gateway object that can be persisted to a permanent data store.
|
![]() |
PersistSensor |
Fired when changes have been made to the sensor object that can be persisted to a permanent data store.
|
![]() |
SensorMessage |
Fired when one or more sensor messages are received.
|