public class CloudConnector extends AbstractPlatformConnector
This class is the entry point to start working with Device Cloud in your application.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERSION
Cloud Connector version.
|
MAX_NUMBER_OF_DATA_POINTS_PER_PACKAGE, MAX_SIZE_OF_BINARY_DATA_POINTS_KB, MAX_SIZE_OF_DEVICE_REQUESTS_REPLIES_KB, MAX_SIZE_OF_SEND_DATA_REQUEST_KB| Constructor and Description |
|---|
CloudConnector()
Class constructor.
|
CloudConnector(IGeneralFirmwareImplementation generalFwImpl)
Class constructor.
|
CloudConnector(IGeneralFirmwareImplementation generalFwImpl,
java.lang.String configFile)
Class constructor.
|
CloudConnector(IGeneralRCIExtension generalRCIExtension)
Class constructor.
|
CloudConnector(IGeneralRCIExtension generalRCIExtension,
IGeneralFirmwareImplementation generalFwImpl)
Class constructor.
|
CloudConnector(IGeneralRCIExtension generalRCIExtension,
IGeneralFirmwareImplementation generalFwImpl,
java.lang.String configFile)
Class constructor.
|
CloudConnector(IGeneralRCIExtension generalRCIExtension,
java.lang.String configFile)
Class constructor.
|
CloudConnector(java.lang.String configFile)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConnectorVersion()
Retrieves the Cloud Connector version.
|
java.lang.String |
getLoggerFilePath()
Returns the log file path.
|
boolean |
isLoggingToConsole()
Returns
true if logging to console, false otherwise. |
boolean |
isLoggingToFile()
Returns
true if logging to file, false otherwise. |
abortFirmwareUpdate, appendDataToRemoteFile, appendDataToRemoteFile, deRegisterEventsListener, getDeviceID, getDeviceRequestListener, getEventsListenersList, getFirmwareTargets, getLogger, getNetworkManager, getPreferencesManager, getRestrictionLevel, getRXBytes, getStorageRootDir, getSystemManager, getTXBytes, getVendorID, isConnected, isStarting, notifyEvent, registerDeviceRequestListener, registerEventsListener, resetRXBytes, resetTXBytes, sendBinaryDataPoint, sendDataPoint, sendDataPoint, sendDataToRemoteFile, sendDataToRemoteFile, start, stop, updateDataCompressionStrategypublic static final java.lang.String VERSION
public CloudConnector()
public CloudConnector(IGeneralFirmwareImplementation generalFwImpl)
generalFwImpl - The general firmware implementation.public CloudConnector(IGeneralFirmwareImplementation generalFwImpl, java.lang.String configFile)
generalFwImpl - The general firmware implementation.configFile - Path of the Cloud Connector configuration file.public CloudConnector(IGeneralRCIExtension generalRCIExtension)
generalRCIExtension - The general RCI extension.public CloudConnector(IGeneralRCIExtension generalRCIExtension, IGeneralFirmwareImplementation generalFwImpl)
generalRCIExtension - The general RCI extension.generalFwImpl - The general firmware implementation.public CloudConnector(IGeneralRCIExtension generalRCIExtension, IGeneralFirmwareImplementation generalFwImpl, java.lang.String configFile)
generalRCIExtension - The general RCI extension.generalFwImpl - The general firmware implementation.configFile - Path of the Cloud Connector configuration file.public CloudConnector(IGeneralRCIExtension generalRCIExtension, java.lang.String configFile)
generalRCIExtension - The general RCI extension.configFile - Path of the Cloud Connector configuration file.public CloudConnector(java.lang.String configFile)
configFile - Path of the Cloud Connector configuration file.public java.lang.String getConnectorVersion()
AbstractCloudConnectorgetConnectorVersion in class AbstractCloudConnectorpublic java.lang.String getLoggerFilePath()
null if not logging to a file.DefaultConnectorLoggerpublic boolean isLoggingToConsole()
true if logging to console, false otherwise.true if logging to console, false otherwise.public boolean isLoggingToFile()
true if logging to file, false otherwise.true if logging to file, false otherwise.© Copyright 2014 Etherios, Inc. All rights reserved. Etherios, Inc. is a Division of Digi International Inc.