18 #ifndef _SERVICE_H_X_INCLUDED_ 19 #define _SERVICE_H_X_INCLUDED_ 24 #include "libupnpp/upnppexports.hxx" 56 UpnpService(
const std::string& stp,
const std::string& sid,
57 const std::string& xmlfn,
UpnpDevice *dev,
bool noevents=
false);
74 virtual bool getEventData(
bool all, std::vector<std::string>& names,
75 std::vector<std::string>& values);
78 virtual const std::string& getServiceType()
const;
79 virtual const std::string& getServiceId()
const;
80 virtual const std::string& getXMLFn()
const;
83 bool noevents()
const;
91 virtual const std::string errString(
int error)
const;
93 virtual const std::string serviceErrString(
int)
const {
99 UPNP_INVALID_ACTION = 401,
100 UPNP_INVALID_ARGS = 402,
101 UPNP_INVALID_VAR = 404,
103 UPNP_ACTION_CONFLICT = 409,
104 UPNP_ACTION_FAILED = 501,
107 UPNP_ARG_VALUE_INVALID = 600,
108 UPNP_ARG_VALUE_OUT_OF_RANGE = 601,
109 UPNP_OPTIONAL_ACTION_NOT_IMPLEMENTED = 602,
110 UPNP_OUT_OF_MEMORY = 603,
111 UPNP_HUMAN_INTERVENTION_REQUIRED = 604,
112 UPNP_STRING_ARGUMENT_TOO_LONG = 605,
113 UPNP_ACTION_NOT_AUTHORIZED = 606,
114 UPNP_SIGNATURE_FAILING = 607,
115 UPNP_SIGNATURE_MISSING = 608,
116 UPNP_NOT_ENCRYPTED = 609,
117 UPNP_INVALID_SEQUENCE = 610,
118 UPNP_INVALID_CONTROL_URLS = 611,
119 UPNP_NO_SUCH_SESSION = 612,
124 class UPNPP_LOCAL Internal;
Base Device class.
Definition: device.hxx:54
Upnp service base class.
Definition: service.hxx:36
Virtual directory handler to satisfy libupnp miniserver GETs.
Definition: device.cxx:49