jsamp1
Java simple application messaging protocol command-line tool for the virtual observatory
Usage
jsamp [-help]
[-version]
<command>
[-help]
<cmd-args>
<command-class>
[-help]
<cmd-args>
Overview
jsamp provides a low-level command-line interface to the JSAMP Simple Application Messaging Protocol Java library funcationality which Virtual Observatory (VO) applications for exchanging data with each other on the users machine.
Options
-
-help -
display contextual usage information for commands and sub-commands
-
-version -
display the matching SAMP protocol revision and
jsampbuild version (if available)
-
-verbose -
output additional information on stdout while executing
+verbose-
do not output any information on stdout while executing
Commands
All commands can be followed by the argument -help to display details of their arguments and sub-commands
Main Commands
Main commands related to starting or setting up SAMP hub instances.
- hub [-mode no-gui|client-gui|msg-gui|facade] [-profiles std|web|<hubprofile-class>[,...]] [-extraprofiles std|web|<hubprofile-class>[,...]] [-std:secret <secret>] [-std:httplock] [-web:log none|http|xml|rpc] [-web:auth swing|true|false|extreme] [-web:[no]cors] [-web:[no]flash] [-web:[no]silverlight] [-web:[no]urlcontrol] [-web:[no]restrictmtypes]
-
start a SAMP Hub so that VO applications can share and exchange data via the Hub
- bridge [-[no]exporturls] [-nostandard] [-sampdir <lockfile-dir>] [-sampfile <lockfile>] [-sampurl <lockurl>] [-keys <xmlrpc-url> <secret>] [-profile <clientprofile-class>]
-
sent up a proxy bridge between two or more SAMP hub instances
help-
display the list of top-level
jsampcommands
Debugging Commands
- hubmonitor [-auto <secs>] [-nomsg] [-nogui] [-mtype <pattern>]
-
monitor an existing SAMP hub and show connected clients
- snooper [-clientname <appname>] [-clientmeta <metaname> <metavalue>] [-mtype <pattern>] [-subs <pattern> <subsinfo>]
-
monitor an existing SAMP hub and dump the flow of messages to stdout
Testing Commands
- calcstorm [-gui] [-nclient <n>] [-nquery <n>] [-mode sync|async|notify|random]
-
stress-test a SAMP hub using multiple connections and exchanging lots of messages
- hubtester [-gui]
-
run a series of tests against a running SAMP hub
Homepage
- http://www.star.bristol.ac.uk/~mbt/jsamp/commands.html