OS-IoT
Functions | Namespaces | Typedefs
onem2m.cxx File Reference

This file contains the public interface to the OS-IoT API and other global objects. More...

Functions

std::unique_ptr< ::xml_schema::typeonem2m::createResource (const std::string &address, const std::string &requestId,::xml_schema::type &resource, long &result,::xml_schema::integer &resObjType)
 
std::unique_ptr< ::xml_schema::typeonem2m::deleteResource (const std::string &address, const std::string &requestId, long &result,::xml_schema::integer &resObjType)
 
std::string onem2m::getCaInfo ()
 
std::string onem2m::getCaPath ()
 
std::string onem2m::getCipherList ()
 
std::string onem2m::getFrom ()
 
bool onem2m::getHttpServerRunning ()
 
std::string onem2m::getKeyPasswd ()
 
size_t onem2m::getMaxAcceptSize ()
 
onem2mProtocol onem2m::getProtocol ()
 
std::string onem2m::getPskIdentity ()
 
std::string onem2m::getPskKey ()
 
std::string onem2m::getSslCert ()
 
std::string onem2m::getSslKey ()
 
std::string onem2m::getSubjectAltNameAllowed ()
 
onem2mTransport onem2m::getTransport ()
 
bool onem2m::getVerifyHost ()
 
bool onem2m::getVerifyPeer ()
 
void onem2m::initialize ()
 
std::unique_ptr< ::xml_schema::typeonem2m::retrieveResource (const std::string &address, const std::string &requestId, long &result,::xml_schema::integer &resObjType)
 
void onem2m::setCaInfo (const std::string)
 
void onem2m::setCaPath (const std::string)
 
void onem2m::setCipherList (const std::string)
 
void onem2m::setDebug (bool debugOut)
 
void onem2m::setFrom (const std::string newFrom)
 
void onem2m::setHostName (const std::string name)
 
void onem2m::setKeyPasswd (const std::string)
 
void onem2m::setMaxAcceptSize (const size_t newMaxAcceptSize)
 
void onem2m::setProtocol (const onem2mProtocol)
 
void onem2m::setPskIdentity (const std::string)
 
void onem2m::setPskKey (const std::string)
 
void onem2m::setSslCert (const std::string)
 
void onem2m::setSslKey (const std::string)
 
void onem2m::setSubjectAltNameAllowed (const std::string)
 
void onem2m::setTransport (const onem2mTransport)
 
void onem2m::setVerifyHost (const bool)
 
void onem2m::setVerifyPeer (const bool)
 
long onem2m::startHttpServer (const std::vector< std::string > &addressRegex, long port, notificationCallbackFn callback)
 
void onem2m::stopHttpServer ()
 
void onem2m::terminate ()
 
std::unique_ptr< ::xml_schema::typeonem2m::updateResource (const std::string &address, const std::string &requestId, const ::xml_schema::type *resource, long &result,::xml_schema::integer &resObjType)
 
std::unique_ptr< ::xml_schema::typeonem2m::updateResource (const std::string &address, const std::string &requestId, const ::xml_schema::type &resource, long &result,::xml_schema::integer &resObjType)
 

Namespaces

 onem2m
 Public interface for functions and classes in the OS-IoT library.
 

Typedefs

typedef SimpleWeb::Server< SimpleWeb::HTTP > onem2m::HttpServer
 

Detailed Description

This file contains the public interface to the OS-IoT API and other global objects.