com.novell.service.qms
Class QMSOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--com.novell.java.io.NOutputStream
              |
              +--com.novell.service.qms.QMSOutputStream

public class QMSOutputStream
extends NOutputStream

Provides the standard output stream functionality for NetWare queue jobs. It extends NOutputStream by adding support for the custom parameter data used to create a stream for a queue job.

In addition to the conventional output stream functionality (see java.io.OutputStream), the QMSOutputStream class includes an abort() method for closing the queue job.

See Also:
NOutputStream

Method Summary
 void abort()
          Aborts a currently open stream.
 
Methods inherited from class com.novell.java.io.NOutputStream
close, flush, write, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

abort

public void abort()
           throws java.io.IOException
Aborts a currently open stream.

This abort() method extends the NOutputStream interface to allow for aborting streams that have already been opened. This will cancel the job that has been created on this stream.

Throws:
java.io.IOException - When an error occurs while creating the job.