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

Class ErrorResponse

source code

object --+        
         |        
core.Frame --+    
             |    
       Command --+
                 |
                ErrorResponse

Nested Classes [hide private]

Inherited from core.Frame: __metaclass__

Instance Methods [hide private]
 
__init__(self, parent)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_children(self) source code
 
append(self, e) source code
 
_decode(self, cur) source code

Inherited from Command (private): _decode_pre, _encode_pre

Inherited from core.Frame: __getitem__, __iter__, __len__, __setattr__, __str__, decode, encode, is_last_child, next_sibling, parse, prev_sibling, serialize

Inherited from core.Frame (private): _decode_post, _encode_post, _str, _value_str

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  structure_size = 9
  _context_table = {(SMB2_ERROR_ID_DEFAULT, None): <class 'pike....
  error_context = core.Register(_context_table, 'error_id', 'par...
  special_statuses = [STATUS_STOPPED_ON_SYMLINK, STATUS_BUFFER_T...

Inherited from core.Frame: field_blacklist

Inherited from core.Frame (private): _register

Properties [hide private]

Inherited from core.Frame: children, context

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

_context_table

Value:
{(SMB2_ERROR_ID_DEFAULT, None): <class 'pike.smb2.ErrorResponseDefault\
'>,
 (SMB2_ERROR_ID_DEFAULT, STATUS_STOPPED_ON_SYMLINK): <class 'pike.smb2\
.SymbolicLinkErrorResponse'>,
 (SMB2_ERROR_ID_DEFAULT, STATUS_BUFFER_TOO_SMALL): <class 'pike.smb2.E\
rrorResponseDefaultBufferSize'>}

error_context

Value:
core.Register(_context_table, 'error_id', 'parent_status')

special_statuses

Value:
[STATUS_STOPPED_ON_SYMLINK, STATUS_BUFFER_TOO_SMALL]