wotpy.protocols.enums

Enumeration classes related to the various protocol servers.

Classes

InteractionVerbs Interactions have one or more defined interaction verbs for each interaction pattern.
Protocols Enumeration of protocol types.
class wotpy.protocols.enums.InteractionVerbs

Bases: wotpy.utils.enums.EnumListMixin

Interactions have one or more defined interaction verbs for each interaction pattern. Form Relations allow an interaction to have separate protocol mechanisms to support different interaction verbs.

INVOKE_ACTION = 'invokeaction'
OBSERVE_PROPERTY = 'observeproperty'
READ_PROPERTY = 'readproperty'
SUBSCRIBE_EVENT = 'subscribeevent'
UNSUBSCRIBE_EVENT = 'unsubscribeevent'
WRITE_PROPERTY = 'writeproperty'
class wotpy.protocols.enums.Protocols

Bases: wotpy.utils.enums.EnumListMixin

Enumeration of protocol types.

COAP = 'COAP'
HTTP = 'HTTP'
MQTT = 'MQTT'
WEBSOCKETS = 'WEBSOCKETS'