All Packages  This Package  Class Hierarchy  Class Search  Index

Class bmsi.sna.Spooler
java.lang.Object
   |
   +----bmsi.sna.Spooler

  Summary

public class  Spooler
     extends java.lang.Object
     implements bmsi.sna.SNADevice, 
                java.lang.Runnable
{
          // Constructors 1
     public Spooler(String, SNA3770) throws IOException;

          // Methods 7
     public synchronized boolean cancel(String);
     public void dispose() throws IOException;
     public void finishJob(Writer) throws IOException;
     public int getMedium();
     public void run();
     public Writer startJob(String) throws IOException;
     public void submit(String) throws IOException;
}

Manage a job queue and output spooling for an SNA protocol converter implementing the SNA3770 interface.

Author:
Stuart D. Gathman Copyright (C) 1999 Business Management Systems, Inc.




  Constructors

· Spooler

Summary  |  Top

   public Spooler(String dir, 
                  SNA3770 rje)  throws IOException

Create a spooler for an SNA3770.

Parameter Description
dir the directory where output files will be created
rje the SNA3770 object managing the protocol converter



  Methods

· dispose

Summary  |  Top
   public void dispose()  throws IOException


· startJob

Summary  |  Top
   public Writer startJob(String dsn)  throws IOException
Implements:
startJob in interface SNADevice


· finishJob

Summary  |  Top
   public void finishJob(Writer wtr)  throws IOException
Implements:
finishJob in interface SNADevice


· getMedium

Summary  |  Top
   public int getMedium() 
Implements:
getMedium in interface SNADevice


· run

Summary  |  Top
   public void run() 
Implements:
run in interface Runnable


· submit

Summary  |  Top
   public void submit(String s)  throws IOException

Execute a command string. The first character is the operation. The remaining characters are data for the command. Operations are

Slogon card
Cconsole command
Fjob filename to submit
Djob filename to delete

Parameter Description
s the command string



· cancel

Summary  |  Top
   public synchronized boolean cancel(String s) 

Remove a command from the queue.

Returns:
true if the command was found and removed


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7