Camel.StreamFs¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Camel.StreamFs(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new_with_fd(fd)¶
- Parameters:
fd (
int
) – a file descriptor- Returns:
a new
Camel.StreamFs
- Return type:
Creates a new fs stream using the given file descriptor fd as the backing store. When the stream is destroyed, the file descriptor will be closed.
- classmethod new_with_name(name, flags, mode)¶
- Parameters:
- Raises:
- Returns:
the new stream, or
None
on error- Return type:
Creates a new
Camel.StreamFs
corresponding to the named file, flags, and mode.