|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NetModule
NetModule is an abstraction of functionality that is provided by a
Device. It is a group of related actions. A NetModule is
always associated with a homenetwork Device. Application
may monitor a NetModule's status by subscribing as a listener to this
NetModule.
| Field Summary | |
|---|---|
static String |
CONTENT_LIST
A constant indicating content listing NetModule. |
static String |
CONTENT_MANAGER
A constant indicating content manager NetModule. |
static String |
CONTENT_RECORDER
A constant indicating content recording NetModule. |
static String |
CONTENT_RENDERER
A constant indicating content renderer NetModule. |
static String |
CONTENT_SERVER
A constant indicating content server NetModule. |
static String |
PROP_CONTROL_URL
A constant providing URL for NetModule control. |
static String |
PROP_DESCRIPTION_URL
A constant providing URL for NetModule description. |
static String |
PROP_EventSub_URL
A constant providing URL for NetModule eventing. |
static String |
PROP_NETMODULE_ID
A constant indicating NetModuleID. |
static String |
PROP_NETMODULE_TYPE
A constant providing this NetModule's type. |
| Method Summary | |
|---|---|
void |
addNetModuleEventListener(NetModuleEventListener listener)
Adds a NetModuleEventListener instance to this NetModule. |
Device |
getDevice()
Returns the device that provides this NetModule. |
Enumeration |
getKeys()
Returns the property keys supported by this NetModule. |
String |
getNetModuleId()
Returns the id of this NetModule, which is unique within the device. |
String |
getNetModuleType()
Returns the type of this NetModule. |
String |
getProperty(String key)
Returns the property value for specified key. |
boolean |
isLocal()
Returns true if this NetModule is hosted on the local device. |
void |
removeNetModuleEventListener(NetModuleEventListener listener)
Removes a NetModuleEventListener instance from this NetModule. |
| Field Detail |
|---|
static final String CONTENT_LIST
static final String CONTENT_MANAGER
static final String CONTENT_RENDERER
static final String CONTENT_SERVER
static final String CONTENT_RECORDER
static final String PROP_NETMODULE_ID
static final String PROP_DESCRIPTION_URL
static final String PROP_CONTROL_URL
static final String PROP_EventSub_URL
static final String PROP_NETMODULE_TYPE
| Method Detail |
|---|
Device getDevice()
Enumeration getKeys()
String getProperty(String key)
key - specified property key
String getNetModuleType()
NetModule, for example,
CONTENT_MANAGER, CONTENT_LIST.
String getNetModuleId()
void addNetModuleEventListener(NetModuleEventListener listener)
listener - a NetModuleEventListener instance to be notified
of NetModuleEvents.void removeNetModuleEventListener(NetModuleEventListener listener)
listener - a NetModuleEventListener instance to be removed
from this NetModule.boolean isLocal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||