public class CallbackServerImpl extends Object implements CallbackServer
| Modifier and Type | Field and Description |
|---|---|
private CallbackClient |
not |
private long |
sleep |
private static double |
SLEEP |
| Constructor and Description |
|---|
CallbackServerImpl() |
| Modifier and Type | Method and Description |
|---|---|
private static VectorG |
createRandom(int dim)
Creates a randomized VectorG
|
VectorG |
randomize(int dim)
The client calls this method, and the server returns a random number.
|
long |
register(CallbackClient client)
The client is a callback client and registers here at the server.
|
private static final double SLEEP
private CallbackClient not
private long sleep
public VectorG randomize(int dim) throws RemoteException
randomize in interface CallbackServerRemoteExceptionpublic long register(CallbackClient client) throws RemoteException
CallbackClient.callback(math.VectorG) method.register in interface CallbackServerRemoteExceptionprivate static VectorG createRandom(int dim)