|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
static java.lang.String |
NOTIFY_ALL
Notify on all job state changes. |
static java.lang.String |
NOTIFY_DONE
Notify when the job is done. |
static java.lang.String |
NOTIFY_NONE
Do not notify when the job is done or requeued. |
static java.lang.String |
NOTIFY_REQUEUE
Notify when the job is requeued. |
static java.lang.String |
TZONE_GMT
use the GMT timezone for date fields. |
static java.lang.String |
TZONE_LOCAL
use the local timezone for date fields. |
| Method Summary | |
void |
admin(java.lang.String password)
establish administrator privileges given password |
java.lang.String |
filefmt()
get the FILEFMT string value. |
void |
filefmt(java.lang.String value)
set the FILEFMT string value. |
long |
idle()
get the current idle timeout in seconds |
void |
idle(long timeout)
set the idle timeout value to the given number of seconds |
void |
jdele(long jobid)
delete the given job this can be called on a suspended or done job. |
void |
jintr(long jobid)
interrupt the given job id |
void |
jkill(long jobid)
kill the job with the given job id |
void |
jnew()
create a new job. |
long |
job()
get the current job id 0 indicates the current job id is "default" value |
void |
job(long value)
set the current job id |
java.lang.String |
jobfmt()
get the job format string. |
void |
jobfmt(java.lang.String value)
set the job format string. |
java.lang.String |
jparm(java.lang.String parm)
get job parameters of the current job |
void |
jparm(java.lang.String parm,
int value)
set job parameters on the current job |
void |
jparm(java.lang.String parm,
long value)
set job parameters on the current job |
void |
jparm(java.lang.String parm,
java.lang.Object value)
set job parameters on the current job |
void |
jparm(java.lang.String parm,
java.lang.String value)
set job parameters on the current job |
void |
jrest()
reset the state of the current job. |
long |
jsubm()
submit the current job to the scheduler |
int |
jsubm(long jobid)
submit the given job to the scheduler |
void |
jsusp(long jobid)
Suspend the job with the given job id. |
void |
jwait(long jobid)
Wait for the job with the given job id to complete. |
java.lang.String |
mdmfmt()
get the modem format string value. |
void |
mdmfmt(java.lang.String value)
set the modem format string. |
void |
noop()
perform server No Operation could be used as a keep-alive |
void |
open()
open a connection to the localhost on the default port |
void |
open(java.lang.String host)
open a connection to a given server at default port this is an alias for connect() |
void |
pass(java.lang.String password)
send the password for this username and session |
void |
quit()
end session |
java.lang.String |
rcvfmt()
get the received file output format string. |
void |
rcvfmt(java.lang.String value)
set the receive file output format string. |
long |
size(java.lang.String pathname)
Returns the size (in bytes) of the given regular file. |
java.lang.String |
stot(java.io.InputStream data)
store temp file, the file is stored in a uniquely named file on the server. |
void |
tzone(java.lang.String value)
set the timezone display format valid tzone values are TZONE_GMT and TZONE_LOCAL |
boolean |
user(java.lang.String username)
send the user name for this session |
java.net.InetAddress |
vrfy(java.lang.String dialstring)
verify dialstring handling and/or least-cost routing. |
| Field Detail |
public static final java.lang.String NOTIFY_ALL
public static final java.lang.String NOTIFY_DONE
public static final java.lang.String NOTIFY_NONE
public static final java.lang.String NOTIFY_REQUEUE
public static final java.lang.String TZONE_GMT
public static final java.lang.String TZONE_LOCAL
| Method Detail |
public void admin(java.lang.String password)
throws java.io.IOException,
ServerResponseException
password - administrator passwordjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public java.lang.String filefmt()
throws java.io.IOException,
ServerResponseException
java.io.IOException - a socket IO error occurredServerResponseException - the server replied with an error code
public void filefmt(java.lang.String value)
throws java.io.IOException,
ServerResponseException
value - the new value of the FILEFMT stringjava.io.IOException - a socket IO error occurredServerResponseException - the server replied with an error code
public long idle()
throws java.io.IOException,
ServerResponseException
java.io.IOException - io error occurredServerResponseException - server replied with an error code
public void idle(long timeout)
throws java.io.IOException,
ServerResponseException
timeout - new timeout value in seconds (MAX = 7200)java.io.IOException - io error occurredServerResponseException - server replied with an error code
public void jdele(long jobid)
throws java.io.IOException,
ServerResponseException
jobid - id of the job to deletejava.io.IOException - a socket IO error occurredServerResponseException - server replied with error code
public void jintr(long jobid)
throws java.io.IOException,
ServerResponseException
jobid - id of the job to interruptjava.io.IOException - a socket IO error occurredServerResponseException - the server replied with an error code
public void jkill(long jobid)
throws java.io.IOException,
ServerResponseException
jobid - the id of the job to killjava.io.IOException - a socket IO error occurredServerResponseException - the server replied with an error code
public void jnew()
throws java.io.IOException,
ServerResponseException
java.io.IOException - a socket IO error occurredServerResponseException - the server replied with an error code
public long job()
throws java.io.IOException,
ServerResponseException
java.io.IOException - io error occurredServerResponseException - server replied with an error code
public void job(long value)
throws java.io.IOException,
ServerResponseException
value - new current job idjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public java.lang.String jobfmt()
throws java.io.IOException,
ServerResponseException
java.io.IOException - a socket IO error occurred.ServerResponseException - the server responded with an error code
public void jobfmt(java.lang.String value)
throws java.io.IOException,
ServerResponseException
value - new job format stringjava.io.IOException - a socket IO error occurred.ServerResponseException - the server responded with an error
public java.lang.String jparm(java.lang.String parm)
throws java.io.IOException,
ServerResponseException
parm - the name of the job parameter to changejava.io.IOException - io error occurredServerResponseException - server replied with an error code
public void jparm(java.lang.String parm,
int value)
throws java.io.IOException,
ServerResponseException
parm - the name of the job parameter to changevalue - the value of the given parameterjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public void jparm(java.lang.String parm,
long value)
throws java.io.IOException,
ServerResponseException
parm - the name of the job parameter to changevalue - the value of the given parameterjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public void jparm(java.lang.String parm,
java.lang.Object value)
throws java.io.IOException,
ServerResponseException
parm - the name of the job parameter to changevalue - the value of the given parameter as an Objectjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public void jparm(java.lang.String parm,
java.lang.String value)
throws java.io.IOException,
ServerResponseException
parm - the name of the job parameter to changevalue - the value of the given parameterjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public void jrest()
throws java.io.IOException,
ServerResponseException
java.io.IOException - an IO error occurredServerResponseException - the server replied with an error code
public long jsubm()
throws java.io.IOException,
ServerResponseException
java.io.IOException - io error occurredServerResponseException - server replied with an error code
public int jsubm(long jobid)
throws java.io.IOException,
ServerResponseException
jobid - the id of the job to submitjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public void jsusp(long jobid)
throws java.io.IOException,
ServerResponseException
jobid - id of the job to suspendjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public void jwait(long jobid)
throws java.io.IOException,
ServerResponseException
jobid - id of the job to wait forjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public java.lang.String mdmfmt()
throws java.io.IOException,
ServerResponseException
java.io.IOException - a socket IO error occurredServerResponseException - the server responded with an error code
public void mdmfmt(java.lang.String value)
throws java.io.IOException,
ServerResponseException
value - the new modem format string to usejava.io.IOException - a socket IO error occurredServerResponseException - the server responded with an error code
public void noop()
throws java.io.IOException,
ServerResponseException
java.io.IOException - io error occurredServerResponseException - server replied with an error code
public void open()
throws java.net.UnknownHostException,
java.io.IOException,
ServerResponseException
java.net.UnknownHostException - cannot resolve the given hostnamejava.io.IOException - IO error occurredServerResponseException - the server replied with an error code
public void open(java.lang.String host)
throws java.net.UnknownHostException,
java.io.IOException,
ServerResponseException
host - the hostname of the HylaFAX serverjava.net.UnknownHostException - cannot resolve the given hostnamejava.io.IOException - IO error occurredServerResponseException - the server replied with an error code
public void pass(java.lang.String password)
throws java.io.IOException,
ServerResponseException
password - the password to login withjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public void quit()
throws java.io.IOException,
ServerResponseException
java.io.IOException - io error occurredServerResponseException - server replied with an error code
public java.lang.String rcvfmt()
throws java.io.IOException,
ServerResponseException
java.io.IOException - a socket IO error occurredServerResponseException - the server responded with an error code
public void rcvfmt(java.lang.String value)
throws java.io.IOException,
ServerResponseException
value - the new format stringjava.io.IOException - a socket IO error occurredServerResponseException - the server responded with an error code
public long size(java.lang.String pathname)
throws java.io.IOException,
java.io.FileNotFoundException,
ServerResponseException
pathname - the name of the file to get the size forjava.io.IOException - caused by a socket IO errorServerResponseException - caused by a server response indicating an errorjava.io.FileNotFoundException - the given path does not exist
public java.lang.String stot(java.io.InputStream data)
throws java.io.IOException,
ServerResponseException
java.io.IOException - io error occurred talking to the serverServerResponseException - server replied with error code
public void tzone(java.lang.String value)
throws java.io.IOException,
ServerResponseException
value - new timezone display settingjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public boolean user(java.lang.String username)
throws java.io.IOException,
ServerResponseException
username - name of the user to login asjava.io.IOException - io error occurredServerResponseException - server replied with an error code
public java.net.InetAddress vrfy(java.lang.String dialstring)
throws java.io.IOException,
ServerResponseException
dialstring - the dialstring to verifyjava.io.IOException - a socket IO error occurredServerResponseException - the server replied with an error code
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||