Package pike :: Module smb2 :: Class CommandId
[hide private]
[frames] | no frames]

Class CommandId

source code

object --+            
         |            
      long --+        
             |        
     core.Enum --+    
                 |    
    core.ValueEnum --+
                     |
                    CommandId

Nested Classes [hide private]

Inherited from core.Enum: __metaclass__

Instance Methods [hide private]

Inherited from core.ValueEnum: __str__

Inherited from core.Enum: __repr__

Inherited from long: __abs__, __add__, __and__, __cmp__, __coerce__, __div__, __divmod__, __float__, __floordiv__, __format__, __getattribute__, __getnewargs__, __hash__, __hex__, __index__, __int__, __invert__, __long__, __lshift__, __mod__, __mul__, __neg__, __nonzero__, __oct__, __or__, __pos__, __pow__, __radd__, __rand__, __rdiv__, __rdivmod__, __rfloordiv__, __rlshift__, __rmod__, __rmul__, __ror__, __rpow__, __rrshift__, __rshift__, __rsub__, __rtruediv__, __rxor__, __sizeof__, __sub__, __truediv__, __trunc__, __xor__, bit_length, conjugate

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Class Methods [hide private]

Inherited from core.ValueEnum: validate

Inherited from core.Enum: import_items, items, names, values

Static Methods [hide private]

Inherited from core.Enum: __new__

Class Variables [hide private]
  SMB2_NEGOTIATE = 0x0000
  SMB2_SESSION_SETUP = 0x0001
  SMB2_LOGOFF = 0x0002
  SMB2_TREE_CONNECT = 0x0003
  SMB2_TREE_DISCONNECT = 0x0004
  SMB2_CREATE = 0x0005
  SMB2_CLOSE = 0x0006
  SMB2_FLUSH = 0x0007
  SMB2_READ = 0x0008
  SMB2_WRITE = 0x0009
  SMB2_LOCK = 0x000a
  SMB2_IOCTL = 0x000b
  SMB2_CANCEL = 0x000c
  SMB2_ECHO = 0x000d
  SMB2_QUERY_DIRECTORY = 0x000e
  SMB2_CHANGE_NOTIFY = 0x000f
  SMB2_QUERY_INFO = 0x0010
  SMB2_SET_INFO = 0x0011
  SMB2_OPLOCK_BREAK = 0x0012
  _nametoval = {'SMB2_CANCEL': 12, 'SMB2_CHANGE_NOTIFY': 15, 'SM...
  _valtoname = {0: 'SMB2_NEGOTIATE', 1: 'SMB2_SESSION_SETUP', 2:...

Inherited from core.ValueEnum: permissive

Properties [hide private]

Inherited from long: denominator, imag, numerator, real

Inherited from object: __class__

Class Variable Details [hide private]

_nametoval

Value:
{'SMB2_CANCEL': 12,
 'SMB2_CHANGE_NOTIFY': 15,
 'SMB2_CLOSE': 6,
 'SMB2_CREATE': 5,
 'SMB2_ECHO': 13,
 'SMB2_FLUSH': 7,
 'SMB2_IOCTL': 11,
 'SMB2_LOCK': 10,
...

_valtoname

Value:
{0: 'SMB2_NEGOTIATE',
 1: 'SMB2_SESSION_SETUP',
 2: 'SMB2_LOGOFF',
 3: 'SMB2_TREE_CONNECT',
 4: 'SMB2_TREE_DISCONNECT',
 5: 'SMB2_CREATE',
 6: 'SMB2_CLOSE',
 7: 'SMB2_FLUSH',
...