kaos.aci.flexfeed.test
Class VideoFeedClient
java.lang.Object
kaos.aci.flexfeed.test.VideoFeedClient
- All Implemented Interfaces:
- KAoSObserver
public class VideoFeedClient
- extends java.lang.Object
- implements KAoSObserver
- Author:
- jlott
Constructor Summary |
VideoFeedClient(java.lang.String sourceName)
Creates a new instance of VideoFeedClient |
Method Summary |
java.lang.String |
getID()
Return the unique identifier of this observer. |
static void |
main(java.lang.String[] args)
|
void |
update(java.lang.String observableID,
java.lang.String updateType,
java.lang.Object updateCondition,
java.lang.Object update)
Receive an update from the KAoSObservable when the KAoSObservable has a change or event to report. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VideoFeedClient
public VideoFeedClient(java.lang.String sourceName)
- Creates a new instance of VideoFeedClient
update
public void update(java.lang.String observableID,
java.lang.String updateType,
java.lang.Object updateCondition,
java.lang.Object update)
throws NotificationException
- Description copied from interface:
KAoSObserver
- Receive an update from the KAoSObservable when the KAoSObservable has a change or event to report.
- Specified by:
update
in interface KAoSObserver
- Parameters:
observableID
- String identifying the KAoSObservable sending the update.updateType
- String indicating type of update.updateCondition
- String describing the condition of the update.update
- Object containing the update.
- Throws:
NotificationException
- when the update fails.
getID
public java.lang.String getID()
- Description copied from interface:
KAoSObserver
- Return the unique identifier of this observer.
- Specified by:
getID
in interface KAoSObserver
- Returns:
- String containing the unique ID of this observer.
main
public static void main(java.lang.String[] args)