util.rmi
Interface CallbackServer

All Superinterfaces:
Remote
All Known Implementing Classes:
CallbackServerImpl

public interface CallbackServer
extends Remote

An interface for testing binding, server and callback methods.


Method Summary
 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.
 

Method Detail

randomize

VectorG randomize(int dim)
                  throws RemoteException
The client calls this method, and the server returns a random number.

Throws:
RemoteException

register

long register(CallbackClient client)
              throws RemoteException
The client is a callback client and registers here at the server. The server pauses for a certain time and than calls the clients CallbackClient.callback(vec_math.VectorG) method.

Throws:
RemoteException