Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | Static Public Attributes | List of all members
webiopi.protocols.coap.COAPRequest Class Reference
Inheritance diagram for webiopi.protocols.coap.COAPRequest:
webiopi.protocols.coap.COAPMessage webiopi.protocols.coap.COAPDelete webiopi.protocols.coap.COAPGet webiopi.protocols.coap.COAPPost webiopi.protocols.coap.COAPPut

Public Member Functions

def __init__
 
- Public Member Functions inherited from webiopi.protocols.coap.COAPMessage
def __init__
 
def __getOptionHeader__
 
def __str__
 
def getOptionHeaderValue
 
def getOptionHeaderExtension
 
def appendOption
 
def getBytes
 
def parseByteArray
 

Static Public Attributes

dictionary CODES
 
int GET = 1
 
int POST = 2
 
int PUT = 3
 
int DELETE = 4
 
- Static Public Attributes inherited from webiopi.protocols.coap.COAPMessage
list TYPES = ["CON", "NON", "ACK", "RST"]
 
int CON = 0
 
int NON = 1
 
int ACK = 2
 
int RST = 3
 

Additional Inherited Members

- Public Attributes inherited from webiopi.protocols.coap.COAPMessage
 version
 
 type
 
 code
 
 id
 
 token
 
 options
 
 host
 
 port
 
 uri_path
 
 content_format
 
 payload
 

Detailed Description

Definition at line 318 of file coap.py.

Constructor & Destructor Documentation

def webiopi.protocols.coap.COAPRequest.__init__ (   self,
  msg_type = 0,
  code = 0,
  uri = None 
)

Definition at line 331 of file coap.py.

Member Data Documentation

dictionary webiopi.protocols.coap.COAPRequest.CODES
static
Initial value:
1 = {0: None,
2  1: "GET",
3  2: "POST",
4  3: "PUT",
5  4: "DELETE"
6  }

Definition at line 319 of file coap.py.

Referenced by webiopi.protocols.coap.COAPMessage.__str__().

int webiopi.protocols.coap.COAPRequest.DELETE = 4
static

Definition at line 329 of file coap.py.

int webiopi.protocols.coap.COAPRequest.GET = 1
static

Definition at line 326 of file coap.py.

int webiopi.protocols.coap.COAPRequest.POST = 2
static

Definition at line 327 of file coap.py.

int webiopi.protocols.coap.COAPRequest.PUT = 3
static

Definition at line 328 of file coap.py.


The documentation for this class was generated from the following file: