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

Class GlobalCaps

source code

object --+            
         |            
      long --+        
             |        
     core.Enum --+    
                 |    
     core.FlagEnum --+
                     |
                    GlobalCaps

Nested Classes [hide private]

Inherited from core.Enum: __metaclass__

Instance Methods [hide private]

Inherited from core.FlagEnum: __and__, __or__, __str__

Inherited from core.Enum: __repr__

Inherited from long: __abs__, __add__, __cmp__, __coerce__, __div__, __divmod__, __float__, __floordiv__, __format__, __getattribute__, __getnewargs__, __hash__, __hex__, __index__, __int__, __invert__, __long__, __lshift__, __mod__, __mul__, __neg__, __nonzero__, __oct__, __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.FlagEnum: validate

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

Static Methods [hide private]

Inherited from core.Enum: __new__

Class Variables [hide private]
  SMB2_GLOBAL_CAP_DFS = 0x00000001
  SMB2_GLOBAL_CAP_LEASING = 0x00000002
  SMB2_GLOBAL_CAP_LARGE_MTU = 0x00000004
  SMB2_GLOBAL_CAP_MULTI_CHANNEL = 0x00000008
  SMB2_GLOBAL_CAP_PERSISTENT_HANDLES = 0x00000010
  SMB2_GLOBAL_CAP_DIRECTORY_LEASING = 0x00000020
  SMB2_GLOBAL_CAP_ENCRYPTION = 0x00000040
  _nametoval = {'SMB2_GLOBAL_CAP_DFS': 1, 'SMB2_GLOBAL_CAP_DIREC...
  _valtoname = {1: 'SMB2_GLOBAL_CAP_DFS', 2: 'SMB2_GLOBAL_CAP_LE...
Properties [hide private]

Inherited from long: denominator, imag, numerator, real

Inherited from object: __class__

Class Variable Details [hide private]

_nametoval

Value:
{'SMB2_GLOBAL_CAP_DFS': 1,
 'SMB2_GLOBAL_CAP_DIRECTORY_LEASING': 32,
 'SMB2_GLOBAL_CAP_ENCRYPTION': 64,
 'SMB2_GLOBAL_CAP_LARGE_MTU': 4,
 'SMB2_GLOBAL_CAP_LEASING': 2,
 'SMB2_GLOBAL_CAP_MULTI_CHANNEL': 8,
 'SMB2_GLOBAL_CAP_PERSISTENT_HANDLES': 16}

_valtoname

Value:
{1: 'SMB2_GLOBAL_CAP_DFS',
 2: 'SMB2_GLOBAL_CAP_LEASING',
 4: 'SMB2_GLOBAL_CAP_LARGE_MTU',
 8: 'SMB2_GLOBAL_CAP_MULTI_CHANNEL',
 16: 'SMB2_GLOBAL_CAP_PERSISTENT_HANDLES',
 32: 'SMB2_GLOBAL_CAP_DIRECTORY_LEASING',
 64: 'SMB2_GLOBAL_CAP_ENCRYPTION'}