public interface EventsListener
notifyConnectionEvent(ConnectionEvent).notifyDataPushEvent(DataPushEvent).notifyDataPointEvent(DataPointEvent).notifyFileSystemEvent(FileSystemEvent).notifyRCIEvent(RCIEvent).notifyFirmwareEvent(FirmwareEvent).To register this event use the method
registerEventsListener(EventsListener) of the Cloud Connector object.
Several events listeners can be registered.
To deregister this event use the method
deRegisterEventsListener(EventsListener) of the Cloud Connector object.
| Modifier and Type | Method and Description |
|---|---|
void |
notifyConnectionEvent(ConnectionEvent event)
Notifies that a connection event occurred.
|
void |
notifyDataPointEvent(DataPointEvent event)
Notifies that a data point event occurred.
|
void |
notifyDataPushEvent(DataPushEvent event)
Notifies that a data push event occurred.
|
void |
notifyFileSystemEvent(FileSystemEvent event)
Notifies that a file system event occurred.
|
void |
notifyFirmwareEvent(FirmwareEvent event)
Notifies that a firmware event occurred.
|
void |
notifyRCIEvent(RCIEvent event)
Notifies that an RCI event occurred.
|
void notifyConnectionEvent(ConnectionEvent event)
ConnectionEvent.StartingConnectionEvent.ConnectionEvent.ConnectedEvent.ConnectionEvent.DisconnectedEvent.ConnectionEvent.ConnectionErrorEvent.getConnectionEventType()
method.event - Connection event.ConnectionEvent,
ConnectionEvent.getConnectionEventType(),
ConnectionEvent.StartingConnectionEvent,
ConnectionEvent.ConnectedEvent,
ConnectionEvent.DisconnectedEvent,
ConnectionEvent.ConnectionErrorEventvoid notifyDataPointEvent(DataPointEvent event)
getStatus() method.event - Data point event.DataPointEvent,
DataPointEvent.getStatus()void notifyDataPushEvent(DataPushEvent event)
DataPushEvent)
You can obtain the status with the getStatus() method.event - Data push event.DataPushEvent,
DataPushEvent.getStatus()void notifyFileSystemEvent(FileSystemEvent event)
FileSystemEvent.FileListEvent.FileSystemEvent.FileUploadEvent.FileSystemEvent.FileDownloadEvent.FileSystemEvent.FileRemoveEvent.FileSystemEvent.FileSystemErrorEvent.getFileSystemEventType()
method.event - File system event.FileSystemEvent,
FileSystemEvent.getFileSystemEventType(),
FileSystemEvent.FileListEvent,
FileSystemEvent.FileUploadEvent,
FileSystemEvent.FileDownloadEvent,
FileSystemEvent.FileRemoveEvent,
FileSystemEvent.FileSystemErrorEventvoid notifyFirmwareEvent(FirmwareEvent event)
FirmwareEvent.FirmwareTargetInfoEvent.FirmwareEvent.FirmwareUpdateRequestEvent.FirmwareEvent.FirmwareBinaryBlockEvent.FirmwareEvent.FirmwareCompleteEvent.FirmwareEvent.FirmwareUpdateAbortEvent.FirmwareEvent.FirmwareTargetResetEvent.FirmwareEvent.FirmwareErrorEvent.getFirmwareEventType().event - Firmware event.FirmwareEvent,
FirmwareEvent.getFirmwareEventType(),
FirmwareEvent.FirmwareTargetInfoEvent,
FirmwareEvent.FirmwareUpdateRequestEvent,
FirmwareEvent.FirmwareBinaryBlockEvent,
FirmwareEvent.FirmwareCompleteEvent,
FirmwareEvent.FirmwareUpdateAbortEvent,
FirmwareEvent.FirmwareTargetResetEvent,
tvoid notifyRCIEvent(RCIEvent event)
The event contains the corresponding RCI event type.
event - RCI event.RCIEvent© Copyright 2014 Etherios, Inc. All rights reserved. Etherios, Inc. is a Division of Digi International Inc.