interface MailboxBackEnd extends Landlord, Administrable, MailboxAdmin, PullEventMailbox, ServiceProxyAccessor
The declared methods are pretty straightforward mappings of the PullEventMailbox and MailboxPullRegistration interfaces.
Note: The Landlord interface extends Remote, which implicitly makes this interface Remote as well.
Landlord.RenewResults
Modifier and Type | Method and Description |
---|---|
void |
addUnknownEvents(Uuid uuid,
Collection unknownEvents)
Get events for the given registration
|
void |
disableDelivery(Uuid registrationID)
Disable delivery of events for the given registration
|
void |
enableDelivery(Uuid registrationID,
RemoteEventListener target)
Enable delivery of events for the given registration
to the specified target
|
Collection |
getNextBatch(Uuid regId,
Uuid iterId,
long timeout,
Object lastEventCookie)
Get next batch of events for the given registration.
|
RemoteEventIteratorData |
getRemoteEvents(Uuid uuid)
Get events for the given registration via the returned iterator.
|
void |
notify(Uuid registrationID,
RemoteEvent theEvent)
Collect remote events for the associated registration.
|
getAdmin
destroy
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators
pullRegister
register
getServiceProxy
void enableDelivery(Uuid registrationID, RemoteEventListener target) throws RemoteException, ThrowThis
registrationID
- The unique registration identifiertarget
- The designated delivery target for event notificationsRemoteException
ThrowThis
MailboxRegistration.enableDelivery(net.jini.core.event.RemoteEventListener)
void disableDelivery(Uuid registrationID) throws RemoteException, ThrowThis
registrationID
- The unique registration identifierRemoteException
ThrowThis
MailboxRegistration.disableDelivery()
RemoteEventIteratorData getRemoteEvents(Uuid uuid) throws RemoteException, ThrowThis
uuid
- The unique registration identifierRemoteException
ThrowThis
MailboxPullRegistration.getRemoteEvents()
Collection getNextBatch(Uuid regId, Uuid iterId, long timeout, Object lastEventCookie) throws RemoteException, InvalidIteratorException, ThrowThis
regId
- The unique registration identifierRemoteException
InvalidIteratorException
ThrowThis
void addUnknownEvents(Uuid uuid, Collection unknownEvents) throws RemoteException, ThrowThis
uuid
- The unique registration identifierunknownEvents
- collection of unknown events to be added to
the associated registration's unknown event list.RemoteException
ThrowThis
MailboxPullRegistration.getRemoteEvents()
void notify(Uuid registrationID, RemoteEvent theEvent) throws UnknownEventException, RemoteException, ThrowThis
registrationID
- The unique registration identifiertheEvent
- The event to store and/or forwardUnknownEventException
RemoteException
ThrowThis
RemoteEventListener.notify(net.jini.core.event.RemoteEvent)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.