Enums

Details

class GUPnP.ControlError(value)

Bases: GObject.GEnum

Error codes used 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

Error codes 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

Errors during [class`GUPnP`.RootDevice] creation

classmethod quark()
Return type:

int

NO_CONTEXT = 0

No GUPnP.Context was passed to the root device.

NO_DESCRIPTION_PATH = 1

Device description path was missing

NO_DESCRIPTION_FOLDER = 2

Description folder was missing

NO_NETWORK = 3

Network interface is not usable

FAIL = 4
class GUPnP.ServerError(value)

Bases: GObject.GEnum

Error codes during 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.ServiceError(value)

Bases: GObject.GEnum

Errors during service handling

classmethod quark()
Return type:

int

AUTOCONNECT = 0

[method`GUPnP`.Service.signals_autoconnect] failed

class GUPnP.ServiceIntrospectionError(value)

Bases: GObject.GEnum

Errors during service introspection

classmethod quark()
Return type:

int

OTHER = 0

Unknown error

class GUPnP.XMLError(value)

Bases: GObject.GEnum

Errors during occuring 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.