public interface EventMailbox
EventMailbox interface allows clients
to specify and use a third party for the purpose of
storing and retrieving events.MailboxRegistration| Modifier and Type | Method and Description |
|---|---|
MailboxRegistration |
register(long leaseDuration)
Defines the interface to the event mailbox service.
|
MailboxRegistration register(long leaseDuration) throws RemoteException, LeaseDeniedException
register method to register themselves with
the service.leaseDuration - the requested lease duration in millisecondsMailboxRegistrationIllegalArgumentException - 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.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.