edu.washington.biostr.sig.brainj3d
Class ClientMain
java.lang.Object
edu.washington.biostr.sig.brainj3d.ClientMain
public class ClientMain
- extends Object
This starts up the client mode and can be called at the command line or by
Web Start. It accepts the following command line
arguments:
- -config configuration file
- -server name/ip:[port] where port is optional
- -user name the user
- -pass password the password - not a very secure way to enter your password
- A list of files to load - optional workspace comes first
It can also accept the following parameters:
Please note that because the config file only specifies server parameters
now, it is not actually loaded.
- Version:
- 1.0
- Author:
- Eider Moore
|
Method Summary |
protected static Session |
login(String server,
String user,
byte[] pass,
ConnectSplashscreen css)
|
static void |
main(String[] args)
the configuration file (-config filename),
the workspace to use (-workspace filename),
the workflow to use (-workflow filename),
|
static Session |
showLogin(JFrame frame,
ConnectSplashscreen css,
String server,
String user,
byte[] pass,
Preferences prefs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONFIG
public static final String DEFAULT_CONFIG
- We need a configuration file, so we need a default place to look. By
default BrainJ3D expects a resources directory with the config file
(Config.xml). To set this to a different file use the -config switch.
- See Also:
- Constant Field Values
files
public static List<String> files
ClientMain
public ClientMain()
main
public static void main(String[] args)
- the configuration file (-config filename),
- the workspace to use (-workspace filename),
- the workflow to use (-workflow filename),
- Parameters:
args -
login
protected static Session login(String server,
String user,
byte[] pass,
ConnectSplashscreen css)
throws RemoteException,
NotBoundException,
MalformedURLException,
ConnectException
- Throws:
RemoteException
NotBoundException
MalformedURLException
ConnectException
showLogin
public static Session showLogin(JFrame frame,
ConnectSplashscreen css,
String server,
String user,
byte[] pass,
Preferences prefs)
throws NotBoundException,
RemoteException,
MalformedURLException,
NoSuchAlgorithmException
- Throws:
NotBoundException
RemoteException
MalformedURLException
NoSuchAlgorithmException
Copyright © 2006 University of Washington. All Rights Reserved.