public interface MailboxPullRegistration extends MailboxRegistration
MailboxPullRegistration defines the interface through which
a client manages its registration and its notification processing.
Event mailbox clients use this interface to:
RemoteEventListener reference that
can be registered with event generators. This listener will
then store any received events for this registration.
| Modifier and Type | Method and Description |
|---|---|
void |
addUnknownEvents(Collection unknownEvents)
Adds the provided collection of unknown events to this registration.
|
RemoteEventIterator |
getRemoteEvents()
Retrieves stored notifications, if any.
|
disableDelivery, enableDelivery, getLease, getListenerRemoteEventIterator getRemoteEvents() throws RemoteException
RemoteEventIterator that can be used to retrieve
event notifications from the mailbox service.RemoteException - if there is
a communication failure between the client and the service.void addUnknownEvents(Collection unknownEvents) throws RemoteException
UnknownEventException
back to any event generator that attempts to deliver an event with an
identifier-source combination held in a registration's unknown
exception list.unknownEvents - A Collection of unknown events
to be associated with this registration.RemoteException - if there is
a communication failure between the client and the service.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.