gnu.hylafax.pool
Interface PooledClient

All Superinterfaces:
Client, ClientProtocol
All Known Implementing Classes:
HylaFAXPooledClient

public interface PooledClient
extends Client


Fields inherited from interface gnu.hylafax.ClientProtocol
NOTIFY_ALL, NOTIFY_DONE, NOTIFY_NONE, NOTIFY_REQUEUE, TZONE_GMT, TZONE_LOCAL
 
Method Summary
 void destroy()
          Destroy the client.
 boolean isValid()
          Checks to see if the client is currently valid.
 
Methods inherited from interface gnu.hylafax.Client
createJob, delete, get, getJob, getList, getList, getNameList, getNameList, getPassive, interrupt, kill, mode, put, put, putTemporary, setDebug, setPassive, submit, suspend, wait
 
Methods inherited from interface gnu.hylafax.ClientProtocol
admin, filefmt, filefmt, idle, idle, jdele, jintr, jkill, jnew, job, job, jobfmt, jobfmt, jparm, jparm, jparm, jparm, jparm, jrest, jsubm, jsubm, jsusp, jwait, mdmfmt, mdmfmt, noop, open, open, pass, quit, rcvfmt, rcvfmt, size, stot, tzone, user, vrfy
 

Method Detail

destroy

public void destroy()
             throws ClientPoolException
Destroy the client. This makes the client unusable.
Throws:
ClientPoolException -  

isValid

public boolean isValid()
Checks to see if the client is currently valid. If the client is not valid it should be reopened or destroyed.