| org.griphyn.vdl.invocation.Invocation org.griphyn.vdl.invocation.File org.griphyn.vdl.invocation.Temporary org.griphyn.vdl.invocation.Fifo
Fifo | public class Fifo extends Temporary (Code) | | This class is the container for a FIFO object. A FIFO, also known as
named pipe, does not consume space on the filesystem except for an
inode.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ |
Field Summary | |
protected int | m_count optional message count for the FIFO. | protected long | m_rsize optional number of bytes read from FIFO. | protected long | m_wsize optional number of bytes written - but not to the FIFO. |
Constructor Summary | |
public | Fifo() Default c'tor: Construct a hollow shell and allow further
information to be added later. | public | Fifo(String filename, int descriptor) Constructs a FIFO object.
Parameters: filename - is the name of the file that stat was invoked Parameters: descriptor - is a valid file descriptor number. |
m_count | protected int m_count(Code) | | optional message count for the FIFO.
|
m_rsize | protected long m_rsize(Code) | | optional number of bytes read from FIFO.
|
m_wsize | protected long m_wsize(Code) | | optional number of bytes written - but not to the FIFO. This
has to do with the message size that was created from the
original input message.
|
Fifo | public Fifo()(Code) | | Default c'tor: Construct a hollow shell and allow further
information to be added later.
|
Fifo | public Fifo(String filename, int descriptor)(Code) | | Constructs a FIFO object.
Parameters: filename - is the name of the file that stat was invoked Parameters: descriptor - is a valid file descriptor number. |
toXML | public void toXML(Writer stream, String indent, String namespace) throws IOException(Code) | | Dump the state of the current element as XML output. This function
traverses all sibling classes as necessary, and converts the data
into pretty-printed XML output. The stream interface should be able
to handle large output efficiently.
Parameters: stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output. Parameters: indent - is a String of spaces used for prettyprinting. The initial amount of spaces should be an empty string.The parameter is used internally for the recursive traversal.If a null value is specified, no indentation norlinefeeds will be generated. Parameters: namespace - is the XML schema namespace prefix. If neitherempty nor null, each element will be prefixed with this prefix,and the root element will map the XML namespace. exception: IOException - if something fishy happens to the stream. |
|
|