Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.jini.event
Interface EventMailbox

public interface EventMailbox

The `EventMailbox` interface allows clients to specify and use a third party for the purpose of storing and retrieving events.

Since:
  1.1
See Also:
  `MailboxRegistration`

Method Summary
`MailboxRegistration` | `register(long leaseDuration)` Defines the interface to the event mailbox service.

Method Detail

### register

    public MailboxRegistration register(long leaseDuration)
                                 throws RemoteException,
                                        LeaseDeniedException

  Defines the interface to the event mailbox service. Event mailbox clients utilize this service by invoking the `register` method to register themselves with the service.

  Parameters:
    `leaseDuration` - the requested lease duration in milliseconds
  Returns:
    A new `MailboxRegistration`
  Throws:
    `IllegalArgumentException` - if `leaseDuration` is not positive or `Lease.ANY`.
    `RemoteException` - if there is a communication failure between the client and the service.
    `LeaseDeniedException` - if the mailbox service is unable or unwilling to grant this registration request.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved