|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface MailboxBackEnd
MailboxBackEnd defines the private protocol between the various client-side proxies and the event mailbox server.
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sun.jini.landlord.Landlord |
---|
Landlord.RenewResults |
Method Summary | |
---|---|
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. |
Methods inherited from interface com.sun.jini.landlord.Landlord |
---|
cancel, cancelAll, renew, renewAll |
Methods inherited from interface net.jini.admin.Administrable |
---|
getAdmin |
Methods inherited from interface com.sun.jini.admin.DestroyAdmin |
---|
destroy |
Methods inherited from interface net.jini.admin.JoinAdmin |
---|
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators |
Methods inherited from interface net.jini.event.PullEventMailbox |
---|
pullRegister |
Methods inherited from interface net.jini.event.EventMailbox |
---|
register |
Methods inherited from interface com.sun.jini.start.ServiceProxyAccessor |
---|
getServiceProxy |
Method Detail |
---|
void enableDelivery(Uuid registrationID, RemoteEventListener target) throws RemoteException, ThrowThis
registrationID
- The unique registration identifiertarget
- The designated delivery target for event notifications
RemoteException
ThrowThis
MailboxRegistration.enableDelivery(net.jini.core.event.RemoteEventListener)
void disableDelivery(Uuid registrationID) throws RemoteException, ThrowThis
registrationID
- The unique registration identifier
RemoteException
ThrowThis
MailboxRegistration.disableDelivery()
RemoteEventIteratorData getRemoteEvents(Uuid uuid) throws RemoteException, ThrowThis
uuid
- The unique registration identifier
RemoteException
ThrowThis
MailboxPullRegistration.getRemoteEvents()
Collection getNextBatch(Uuid regId, Uuid iterId, long timeout, Object lastEventCookie) throws RemoteException, InvalidIteratorException, ThrowThis
regId
- The unique registration identifier
RemoteException
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 forward
UnknownEventException
RemoteException
ThrowThis
RemoteEventListener.notify(net.jini.core.event.RemoteEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |