public class ContentServerEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_ADDED
Event ID indicating that content got added to a ContentServerNetModule.
|
static int |
CONTENT_CHANGED
Event ID indicating that metadata associated with content has
been updated.
|
static int |
CONTENT_REMOVED
Event ID indicating that content got removed from a ContentServerNetModule
|
source| Constructor and Description |
|---|
ContentServerEvent(Object source,
String[] content,
int evt)
Creates a new ContentServerEvent with the given source object, the ContentItem involved and
an event ID indicating whether the content got added or removed.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getContent()
Returns the IDs associated with the ContentEntrys involved in this event.
|
ContentServerNetModule |
getContentServerNetModule()
Returns the ContentServerNetModule.
|
int |
getEventID()
Gets the event ID for this event.
|
getSource, toStringpublic static final int CONTENT_ADDED
ContentServerNetModule,
Constant Field Valuespublic static final int CONTENT_REMOVED
public static final int CONTENT_CHANGED
ContentServerNetModule,
Constant Field Valuespublic ContentServerEvent(Object source, String[] content, int evt)
source - The source of this event. This must be a ContentServerNetModule.content - the IDs of the ContentEntrys involved.evt - the Event ID, either CONTENT_ADDED,CONTENT_REMOVED or CONTENT_CHANGED.public String[] getContent()
public ContentServerNetModule getContentServerNetModule()
public int getEventID()
Copyright © 2013 CableLabs. All Rights Reserved.