I want the server to notify multiple clients using callback after a fixed time from the first RMI call made to server.

ie Server will wait for fixed time , so that multiple client can join

```
//server code
void connect (callback) {

thread.sleep(time)
callback.notify()

}

```

But what happens is that all clients does not get the callback at same time . Variations depends on time of making the rmi call to server .
How to do i make sure that all clients get notification at the same time.

I m new to RMI and trying to implement a client- server mechanism.