at.dms.kjc.linprog
Class CPLEXServer

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by at.dms.kjc.linprog.CPLEXServer
All Implemented Interfaces:
RMISolver, Serializable, Remote

public class CPLEXServer
extends UnicastRemoteObject
implements RMISolver

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
CPLEXServer()
           
 
Method Summary
 void clearPort(String name)
           
static String getBaseHostName()
           
 String getOpenPort()
           
static void main(String[] args)
           
 double[] solveOverRMI(CPLEXSolve model)
          Returns solution to
 
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
 

Constructor Detail

CPLEXServer

public CPLEXServer()
            throws RemoteException
Throws:
RemoteException
Method Detail

getBaseHostName

public static String getBaseHostName()

getOpenPort

public String getOpenPort()
                   throws RemoteException
Specified by:
getOpenPort in interface RMISolver
Throws:
RemoteException

clearPort

public void clearPort(String name)
               throws RemoteException
Specified by:
clearPort in interface RMISolver
Throws:
RemoteException

solveOverRMI

public double[] solveOverRMI(CPLEXSolve model)
                      throws RemoteException
Returns solution to

Specified by:
solveOverRMI in interface RMISolver
Throws:
RemoteException

main

public static void main(String[] args)