public interface PullEventMailbox extends EventMailbox
PullEventMailboxinterface allows clients to specify and use a third party for the purpose of storing and retrieving events. It extends
EventMailboxby by adding the ability to synchronously retrieve events from the event mailbox service.
MailboxPullRegistration pullRegister(long leaseDuration) throws RemoteException, LeaseDeniedException
pullRegistermethod to register themselves with the service.
leaseDuration- the requested lease duration in milliseconds
leaseDurationis not positive or
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.