edu.washington.biostr.sig.brainj3d
Class ClientMain

java.lang.Object
  extended by 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:

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

Field Summary
static String DEFAULT_CONFIG
          We need a configuration file, so we need a default place to look.
static List<String> files
           
 
Constructor Summary
ClientMain()
           
 
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
 

Field Detail

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
Constructor Detail

ClientMain

public ClientMain()
Method Detail

main

public static void main(String[] args)

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.