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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.