public class SolverLoadBalancer extends UnicastRemoteObject implements ISolverServer
ref
NAME
Modifier | Constructor and Description |
---|---|
protected |
SolverLoadBalancer(int port,
Properties props) |
Modifier and Type | Method and Description |
---|---|
static void |
createServer(int port,
Properties props)
Create a new Server
|
protected SolverClient |
getClient(int idx) |
protected int |
getNumClients() |
protected int |
getRand(int range)
returns a value between 0 and range -1 or -1 if range==0
|
IRemoteMIPSolver |
getSolver() |
static void |
main(String[] argv) |
protected void |
removeClient(SolverClient cl) |
protected boolean |
retryDeadDrones()
Try to move the contents of the tryLater list back to the
clients list
|
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
protected SolverLoadBalancer(int port, Properties props) throws RemoteException
RemoteException
public static void createServer(int port, Properties props) throws MIPException
MIPException
protected int getNumClients()
protected SolverClient getClient(int idx)
protected void removeClient(SolverClient cl)
protected boolean retryDeadDrones()
public IRemoteMIPSolver getSolver() throws RemoteException
getSolver
in interface ISolverServer
RemoteException
ISolverServer.getSolver()
protected int getRand(int range)
public static void main(String[] argv) throws IOException
IOException
Copyright © 2017. All rights reserved.