Java Mine
ContentsIndexHome
MineServer Members Protected Methods
Protected Methods
 
Name 
Description 
 
public event EventHandlerActionCommandResponse; *

  • Fired when an Action Control command response received.
 
 
Public EventGatewayMessage; *

  • Fired when a message is received from a gateway.
*
  • @param gatewayMessage Class holding data about the gateway communication.
  • @throws java.lang.InterruptedException
 
 

Fired when a non-data message is received from a gateway. @param gatewayMessage Class holding data about the gateway communication. @throws java.lang.InterruptedException 
 

Fired when a gateway accepts a join from a sensor. @param sensorID numeric identifier of the sensor @param sensorApplication is type associated with the sensor 
 

  • Fired when an exception is caught allowing the exception to be logged.

public EventLogException; *

  • Fires the LogException event.
*
  • @param ex Exception to be passed.
  • @param location Method name where the exception occurred.
 
 

  • Fired when changes have been made to the gateway object that can be
  • persisted to a permanent data store.

public EventPersistGateway; *

  • Fires PersistGateway event.
*
  • @param gatewayID Numerical identifier of gateway.
 
 

  • Fired when changes have been made to the sensor object that can be
  • persisted to a permanent data store.

public EventPersistSensor; *

  • Fires PersitSensor event.
*
  • @param sensor Sensor that has been modified.
 
 
public EventSensorMessage; *

  • Fired when one or more sensor messages are received.
*
  • @param sensorMessages List of sensor data messages.
  • @param gatewayID Numerical identifier of gateway that send the messages.
 
 
public event EventHandlerUnknownGateway; *

  • Fired when Mine receives a message from an unregistered gateway.
*
  • @param gatewayID numeric identifier of the gateway
  • @param gatewayType is type associated with the gateway
 
 
public event EventHandlerUnknownSensor; *

  • Fired when a gateway declines a join from a sensor.
*
  • @param sensorID numeric identifier of the sensor
  • @param sensorApplication is type associated with the sensor
 
Copyright (c) 2023. All rights reserved.