Home | Trees | Indices | Help |
---|
|
object --+ | types.UnixFd
An Unix Fd.
Constructor:
dbus.UnixFd(value: int or file object[, variant_level: int]) -> UnixFd
value must be the integer value of a file descriptor, or an object that
implements the fileno() method. Otherwise, ValueError
will be
raised.
UnixFd keeps a dup() (duplicate) of the supplied file descriptor. The caller remains responsible for closing the original fd.
variant_level must be non-negative; the default is 0.
|
|||
a new object with type S, a subtype of T |
|
||
int |
|
||
Inherited from |
|
|||
Inherited from |
|
|
This method returns the file descriptor owned by UnixFd object. Note that, once this method is called, closing the file descriptor is the caller's responsibility. This method may be called at most once; UnixFd 'forgets' the file descriptor after it is taken.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Aug 25 18:18:23 2014 | http://epydoc.sourceforge.net |