public interface RemoteEventIterator
RemoteEventIteratordefines the interface through which a client can synchronously retrieve events associated with a given registration.
RemoteEvent next(long timeout) throws RemoteException, InvalidIteratorException
timeout- the maximum time, in milliseconds, the event mailbox service should wait for the receipt of an event notification associated with this iterator's registration.
IllegalArgumentException- if the supplied
timeoutparameter is less than 0.
InvalidIteratorException- if called on an invalidated iterator.
RemoteException- if there is a communication failure between the client and the service.
Copyright © GigaSpaces.