Package tftpy :: Module TftpStates :: Class TftpContextClientUpload
[hide private]
[frames] | no frames]

Class TftpContextClientUpload

source code

 object --+    
          |    
TftpContext --+
              |
             TftpContextClientUpload

The upload context for the client during an upload.

Instance Methods [hide private]
 
__init__(self, host, port, filename, input, options, packethook, timeout)
Constructor for the base context, setting shared instance variables.
source code
 
start(self) source code
 
end(self)
Finish up the context.
source code

Inherited from TftpContext: checkTimeout, cycle, getNextBlock, gethost, setNextBlock, sethost

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from TftpContext: host, next_block

Inherited from object: __class__

Method Details [hide private]

__init__(self, host, port, filename, input, options, packethook, timeout)
(Constructor)

source code 

Constructor for the base context, setting shared instance variables.

Overrides: object.__init__
(inherited documentation)

start(self)

source code 
Overrides: TftpContext.start

end(self)

source code 

Finish up the context.

Overrides: TftpContext.end