Package libprs500 :: Module prstypes :: Class PathQuery
[hide private]
[frames] | no frames]

Class PathQuery

source code


Defines structure of command that requests information about a path
>>> print prstypes.PathQuery("/test/path/", number=prstypes.PathQuery.PROPERTIES)
1800 0000 0100 0000 0000 0000 0f00 0000    ................
0b00 0000 2f74 6573 742f 7061 7468 2f      ..../test/path/


Instance Methods [hide private]
  __init__(self, path)

Inherited from TransferBuffer: __add__, __getslice__, __str__, pack, unpack

Inherited from TransferBuffer (private): _normalize

Inherited from list: __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__


Class Methods [hide private]

Inherited from TransferBuffer: phex


Class Variables [hide private]
  NUMBER = 24
Command number

Properties [hide private]
  path_length
The length in bytes of the path to follow.
  path
The path.

Inherited from Command: data, length, number, type

Inherited from object: __class__


Method Details [hide private]

__init__(self, path)
(Constructor)

source code 
Overrides: Command.__init__
(inherited documentation)

Class Variable Details [hide private]

NUMBER

Command number
Value:
24                                                                    
      

Property Details [hide private]

path_length

The length in bytes of the path to follow. unsigned int stored at byte 16.
Get Method:
unreachable.fget(self)
Set Method:
unreachable.fset(self, val)
Delete Method:
None                                                                  

path

The path. Stored as a string at byte 20.
Get Method:
unreachable.fget(self)
Set Method:
unreachable.fset(self, val)
Delete Method:
None