EM.4. Supporting Interfaces and Classes

The register method returns an object that implements the interface MailboxRegistration. It is through this interface that the client controls its registration and notification management with the event mailbox service.

package net.jini.event; 

public interface MailboxRegistration 
    Lease getLease(); 
    RemoteEventListener getListener(); 
    void enableDelivery(RemoteEventListener target) 
        throws RemoteException; 
    void disableDelivery() throws RemoteException; 

The MailboxRegistration interface is not a remote interface. Each implementation of the event mailbox service exports proxy objects that implement this interface local to the client. These proxies use an implementation-specific protocol to communicate ...

Get Jini™ Specifications, The, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.