GuiComponents.Console.JConsole.ActionStream Class Reference

Collaboration diagram for GuiComponents.Console.JConsole.ActionStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ActionStream (JConsole console)
synchronized void actionPerformed (ActionEvent e)
 Invoked when an action occurs.
void close () throws IOException
 Close the stream.
int read () throws IOException
 Reads the next byte of data from the input stream.

Protected Attributes

JConsole console
java.util.List list

Private Attributes

byte[] current
int pos

Detailed Description

Definition at line 512 of file JConsole.java.


Member Function Documentation

void GuiComponents.Console.JConsole.ActionStream.close  )  throws IOException
 

Close the stream.

Once a stream has been closed, further read(), ready(), mark(), or reset() invocations will throw an IOException. Closing a previously-closed stream, however, has no effect.

Exceptions:
IOException If an I/O error occurs

Definition at line 538 of file JConsole.java.

int GuiComponents.Console.JConsole.ActionStream.read  )  throws IOException
 

Reads the next byte of data from the input stream.

The value byte is returned as an int in the range 0 to 255. If no byte is available because the end of the stream has been reached, the value -1 is returned. This method blocks until input data is available, the end of the stream is detected, or an exception is thrown.

A subclass must provide an implementation of this method.

Returns:
the next byte of data, or -1 if the end of the stream is reached.
Exceptions:
IOException if an I/O error occurs.

Definition at line 557 of file JConsole.java.


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:13:52 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6