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