|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.event.RepositoryDescriptor
public class RepositoryDescriptor
An instance of this class will be sent to clients of the DVB event API to notify them (through the interface org.davic.resources.ResourceClient) when they are about to lose, or have lost, access to an event source. This object can be used by the application to get the name of the repository from which it will no longer be able to receive events. All instances of RepositoryDescriptor are also instances of UserEventRepository. This class is preserved for backwards compatibility with existing applications.
Method Summary | |
---|---|
ResourceClient |
getClient()
Return the object which asked to be notified about withdrawal of the event source. |
java.lang.String |
getName()
Returns the name of the repository to which the lost, or about to be lost, user event belongs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
public ResourceClient getClient()
ResoourceClient
to
whichever of the various 'add' methods on EventManager was used by the
application to express interest in this repository.
getClient
in interface ResourceProxy
UserEventRepository
has not yet been added to an EventManager
then null shall be returned. Once the UserEventRepository
has been added, the
last used ResourceClient
shall be returned even if the UserEventRepository
has been since removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |