Inheritance diagram for DeviceConduit:
Public Types | |
typedef Conduit copy | copy |
typedef Conduit read | read |
typedef Conduit write | write |
Public Member Functions | |
this (ConduitStyle.Bits style, bool seekable) | |
this (FileDevice device) | |
void | close () |
~this () | |
uint | bufferSize () |
Protected Member Functions | |
char[] | getName () |
Private Member Functions | |
abstract uint | reader (void[] dst) |
abstract uint | writer (void[] src) |
bool | flush (void[] src) |
void | attach (IConduitFilter filter) |
void | bind (IConduit conduit, IConduitFilter next) |
void | unbind () |
uint | read (void[] dst) |
uint | write (void[] src) |
bool | isSeekable () |
bool | isReadable () |
bool | isWritable () |
bool | isTextual () |
IConduit | copy (IConduit source) |
ConduitStyle Bits | getStyle () |
Static Private Member Functions | |
static bool | isHalting () |
Classes | |
class | VersionPosix |
class | VersionWin32 |
Definition at line 55 of file DeviceConduit.d.
|
Reimplemented in FileConduit, and Console::ConsoleConduit. Definition at line 58 of file DeviceConduit.d. |
|
Reimplemented in FileConduit, and Console::ConsoleConduit. Definition at line 59 of file DeviceConduit.d. |
|
Reimplemented in FileConduit, and Console::ConsoleConduit. Definition at line 60 of file DeviceConduit.d. |
|
Make a reasonable attempt to clean up Definition at line 110 of file DeviceConduit.d. |
|
Construct a conduit with the given style and seek abilities. Conduits are either seekable or non-seekable. Reimplemented from Conduit. Definition at line 69 of file DeviceConduit.d. |
|
Create a FileConduit on the provided FileDevice. This is strictly for adapting existing devices such as Stdout and friends. Reimplemented in Console::ConsoleConduit. Definition at line 82 of file DeviceConduit.d. |
|
Callback to close the file. This is invoked from the Resource base-class when the resource is being closed. Reimplemented from Conduit. Definition at line 98 of file DeviceConduit.d. Referenced by FileBucket::close(), ServletResponse::copyFile(), Properties::load(), and UnicodeFileTemplate(). |
|
Return a preferred size for buffering conduit I/O Reimplemented from Conduit. Definition at line 122 of file DeviceConduit.d. |
|
Return the name of this device Reimplemented in FileConduit, and Console::ConsoleConduit. Definition at line 133 of file DeviceConduit.d. Referenced by DeviceConduit::VersionPosix::error(), and DeviceConduit::VersionWin32::error(). |
|
conduit-specific reader Reimplemented from IConduitFilter. Implemented in Socket. |
|
conduit-specific writer Reimplemented from IConduitFilter. Implemented in Socket. |
|
flush provided content to the conduit Reimplemented from IConduit. Definition at line 132 of file Conduit.d. References Conduit::write(). |
|
Please refer to IConduit.attach for details Reimplemented from IConduit. Definition at line 150 of file Conduit.d. References IConduitFilter::bind(). |
|
Reimplemented from IConduitFilter. |
|
Reimplemented from IConduitFilter. |
|
read from conduit into a target buffer Reimplemented from IConduit. Definition at line 177 of file Conduit.d. References Conduit::filter, and IConduitFilter::reader(). Referenced by DeviceConduit::VersionPosix::reader(). |
|
write to conduit from a source buffer Reimplemented from IConduit. Definition at line 188 of file Conduit.d. References Conduit::filter, and IConduitFilter::writer(). Referenced by Conduit::flush(), and DeviceConduit::VersionPosix::writer(). |
|
Returns true if this conduit is seekable (whether it implements ISeekable) Reimplemented from IConduit. Definition at line 200 of file Conduit.d. References Conduit::seekable. |
|
Returns true is this conduit can be read from Reimplemented from IConduit. Definition at line 211 of file Conduit.d. References ConduitStyle::access(), ConduitStyle::Read, and Conduit::style. |
|
Returns true if this conduit can be written to Reimplemented from IConduit. Definition at line 222 of file Conduit.d. References ConduitStyle::access(), Conduit::style, and ConduitStyle::Write. |
|
Returns true if this conduit is text-based Reimplemented from IConduit. Reimplemented in SocketConduit. Definition at line 233 of file Conduit.d. References ConduitStyle::access(), Conduit::style, and ConduitStyle::Text. |
|
Transfer the content of another conduit to this one. Returns a reference to this class, and throws IOException on failure. Reimplemented from IConduit. |
|
Return the style used when creating this conduit Definition at line 264 of file Conduit.d. References Conduit::style. |
|
Is the application terminating? Definition at line 275 of file Conduit.d. References halting. |