Home | Trees | Indices | Help |
---|
|
object --+ | Client
Client
Maintains all state associated with an SMB2/3 client.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Constructor.
|
Register a callback function for the context block, then unregister it
|
Registers a callback function, cb for the given event. When the event fires, cb will be called with the relevant top-level Netbios frame as the single paramter. |
Create a connection. Returns a new Connection object connected to the given server and port.
|
Create a connection. Returns a new Future object for the Connection being established asynchronously to the given server and port.
|
Create future for oplock break. Returns a Future object which will be completed when an oplock break occurs. The result will be the smb2.Smb2 frame of the break notification packet.
|
Create future for lease break. Returns a Future object which will be completed when a lease break occurs. The result will be the smb2.Smb2 frame of the break notification packet.
|
Wait for and return oplock break notification. Equivalent to oplock_break_future(file_id).result() |
Wait for and return lease break notification. Equivalent to lease_break_future(lease_key).result() |
Create or look up lease object. Returns a lease object based on a Tree and a smb2.LeaseResponse. The lease object is created if it does not already exist.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jun 29 08:51:17 2017 | http://epydoc.sourceforge.net |