All Packages  This Package  Class Hierarchy  Class Search  Index

Class bmsi.sna.Spooler


public class  Spooler
     extends java.lang.Object
     implements bmsi.sna.SNADevice, 
          // 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.

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


· 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


· dispose

Summary  |  Top
   public void dispose()  throws IOException

· startJob

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

· finishJob

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

· getMedium

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

· run

Summary  |  Top
   public void run() 
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.

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