ORG.oclc.z39.client
Class zclient
java.lang.Object
|
+--ORG.oclc.z39.client.zclient
- public class zclient
- extends Object
zclient is a simple application using the Z39.50 Client API. Once the
application is started, enter a '?' to get help on commands available.
Invoke zclient with the following flags:
- [-b[sleep_time]]
- Signals that zclient is running as a background process and all input
should be echoed to the output. sleep_time is an optional amount of time
to sleep between transactions during batch mode. This is useful for simulating
user behavior.
- [-o(filename)]
- All records displayed will also be output as BER to (filename).
- [-d]
- Use 'default' as a resultSetName.
- -h
- Hostname. Defaults to "tikal.dev.oclc.org".
- [-i(filename)]
- Override stdin. Automatically includes -b option.
- [-l]
- Turn on logging.
- [-s(filename)]
- Override stdout and stderr.
- -p
- Port number. Defaults to 210.
- -r
- Add the reconnect Information to requests so that socket connections need not be persistent. This only works when connecting to the OCLC ZBase Z39.50 server.
- [-u[userid[/password]]]
- Userid and password. Default is anonymous access.
- [-v]
- Same as -l.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
main
public static void main(String[] args)
select_command
public final boolean select_command(StringTokenizer inputParms)
throws Exception