javamath.server.cas.impl
Class CAServerImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--javamath.server.cas.impl.CAServerImpl
All Implemented Interfaces:
CAServer, java.rmi.Remote, java.io.Serializable

public class CAServerImpl
extends java.rmi.server.UnicastRemoteObject
implements CAServer

This is the implemention for a generic computer algebra session server.

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Method Summary
 CASession createSession(java.lang.String cas)
          Creates a session for a specified computer algebra system and returns the session to the caller.
static void main(java.lang.String[] argv)
          The main program creates one instance of the server and binds it to a name on the local host.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

createSession

public CASession createSession(java.lang.String cas)
                        throws java.rmi.RemoteException
Creates a session for a specified computer algebra system and returns the session to the caller. The name cas of the computer algebra system is prepended to "Session", creating the name of a CASession implementation to construct.
Specified by:
createSession in interface CAServer
Parameters:
cas - The name of the computer algebra system.

main

public static void main(java.lang.String[] argv)
The main program creates one instance of the server and binds it to a name on the local host.