Enums

Details

class GUPnP.ControlError(value)

Bases: GObject.GEnum

GLib.Error codes used for errors in the #GUPNP_CONTROL_ERROR domain, during invocation of service actions.

classmethod quark()
Return type:int
INVALID_ACTION = 401

The action name was invalid.

INVALID_ARGS = 402

The action arguments were invalid.

OUT_OF_SYNC = 403

Out of sync (deprecated).

ACTION_FAILED = 501

The action failed.

class GUPnP.EventingError(value)

Bases: GObject.GEnum

GLib.Error codes used for errors in the #GUPNP_EVENTING_ERROR domain, during eventing of state variables.

classmethod quark()
Return type:int
SUBSCRIPTION_FAILED = 0

The subscription attempt failed.

SUBSCRIPTION_LOST = 1

The subscription was lost.

NOTIFY_FAILED = 2

The notification failed.

class GUPnP.RootdeviceError(value)

Bases: GObject.GEnum

classmethod quark()
Return type:int
NO_CONTEXT = 0
NO_DESCRIPTION_PATH = 1
NO_DESCRIPTION_FOLDER = 2
NO_NETWORK = 3
FAIL = 4
class GUPnP.ServerError(value)

Bases: GObject.GEnum

GLib.Error codes used for errors in the #GUPNP_SERVER_ERROR domain, when there is communication with another server.

classmethod quark()
Return type:int
INTERNAL_SERVER_ERROR = 0

Internal server error.

NOT_FOUND = 1

The resource was not found.

NOT_IMPLEMENTED = 2

This method is not implemented.

INVALID_RESPONSE = 3

Invalid response.

INVALID_URL = 4

Invalid URL.

OTHER = 5

Unknown/unhandled error.

class GUPnP.ServiceActionArgDirection(value)

Bases: GObject.GEnum

Represents the direction of a service state variable.

IN = 0

An “in” variable, to the service.

OUT = 1

An “out” variable, from the service.

class GUPnP.XMLError(value)

Bases: GObject.GEnum

GLib.Error codes used for errors in the #GUPNP_XML_ERROR domain, during processing of XML data.

classmethod quark()
Return type:int
PARSE = 0

Generic XML parsing error.

NO_NODE = 1

A required XML node was not found.

EMPTY_NODE = 2

An XML node is unexpectedly empty.

INVALID_ATTRIBUTE = 3

An XML node has an unknown attribute.

OTHER = 4

Unknown/unhandled XML related errors.