/** \file
 *
 *  Specifies the interface details for the DataOverHttps component in the
 *  SensorModule.
 *
 *  DataOverHttps.h should only be included by DataOverHttps.cpp
 *  Other classes should include DataOverHttpsIF.h
 *
 *  Copyright (c) 2007,2008,2009 MBARI
 *  MBARI Proprietary Information.  All Rights Reserved
 */

#ifndef DATAOVERHTTPSIF_H_
#define DATAOVERHTTPSIF_H_

#include "data/ElementURI.h"

/**
 *  Specifies the interface details for the DataOverHttps component in the
 *  SensorModule.
 *
 *  DataOverHttps.h should only be included by DataOverHttps.cpp
 *  Other classes should include DataOverHttpsIF.h
 *
 *  \ingroup modules_sensor
 */
namespace DataOverHttpsIF
{
/// Static const for component name
/// (Can be used by other components)
static const Str NAME( "DataOverHttps" );

static const ConfigURI CONNECTION_TIMEOUT_CFG( NAME, "connectionTimeout", "If connecting takes this long, try again.", Units::SECOND );
static const ConfigURI PERIOD_CFG( NAME, "period", "How often to check in with server.", Units::SECOND );
static const ConfigURI TIMEOUT_CFG( NAME, "timeout", "If not connected for this period of time, fall over to the next comms channel.", Units::SECOND );
static const ConfigURI VERBOSITY_CFG( NAME, "verbosity", "Control the amount of messages being written to the syslog.", Units::COUNT );
static const DataURI CONNECTION_STATUS( NAME, "connectionStatus", Units::BOOL );

// Include common ConfigURIs -- must be in namespace and follow definition of NAME
#include "component/HasLoadAtStartupIF.h"
#include "component/HasPowerIF.h"
#include "component/HasHardwareIF.h"

}

#endif /*DATAOVERHTTPSIF_H_*/
