Monnit Mine Java
|
The following tables list the members exposed by MineServer.
|
Name |
Description |
| ||
|
public Event LogException; *
| |
|
public Event PersistGateway; *
| |
|
public Event PersistSensor; *
| |
| ||
|
public event EventHandler UnknownGateway; Fired when Mine receives a message from an unregistered gateway. | |
|
public event EventHandler UnknownSensor; Fired when a gateway declines a join from a sensor. |
|
Name |
Description |
|
GATEWAY RESPONSE HANDLING |
|
Name |
Description |
|
#region Constructors Initializes a new instance of the Server class. |
|
Name |
Description |
|
Properties | |
|
Clear queue of all commands to be sent to sensor | |
|
Returns a UTC Calendar based on the seconds passed in | |
|
Returns a simpleDateFormat of ("E MMM dd yyyy hh:mm:ss a") date and time will look like -> Fri Jan 01 2010 12:00:00 PM. for display purposes | |
|
Queues sensor specific command to be sent down | |
|
Access to the object instances used by the server. Returns null if gatewayID does not belong to any of the registered gateways. | |
|
class MineServerInternal { Internal Methods | |
|
Access to the object instances used by the server. Returns empty if gatewayID is not found. | |
|
Access to the object instances used by the server. Returns null if sensorID does not belong to any of the registered gateways. | |
|
Access to the object instances used by the server. Returns empty if gatewayID is not found. | |
|
Returns a UTC Calendar based on the seconds passed in | |
|
Returns the current version of the API | |
|
Adds the gateway to the servers list of valid objects | |
|
Adds the sensor to the servers list of valid objects | |
|
Removes the gateway from the servers list of valid objects | |
|
Removes the sensor from the servers list of valid objects | |
|
Gateway Commands | |
|
gets how many seconds its been since January 1st 2010 to set date times returns the time based off of UTC / | |
|
Public Methods This call starts the socket listeners that the gateways will use to communicate | |
|
This call stops the socket listeners that the gateways will use to communicate | |
|
Returns a UTC Calendar object |
Copyright (c) 2016. All rights reserved.
|
What do you think about this topic? Send feedback!
|