public class NetModuleEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
static int |
MODULE_ADDED
A constant indicating new module is registered to home network.
|
static int |
MODULE_BUSY
A constant indicating a module is busy and cannot respond to request now.
|
static int |
MODULE_REMOVED
A constant indicating a module is removed from home network.
|
static int |
MODULE_UPDATED
A constant indicating a module is updated from home network.
|
static int |
STATE_CHANGE
A constant indicating a module's internal status changed.
|
source| Constructor and Description |
|---|
NetModuleEvent(int type,
Object source)
Constructs a NetModuleEvent by specifying type and source.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getSource()
Returns module event source, which is always a NetModule.
|
int |
getType()
Returns module event type, as defined in
NetModuleEvent. |
toStringpublic static final int MODULE_ADDED
public static final int MODULE_REMOVED
public static final int MODULE_UPDATED
public static final int MODULE_BUSY
public static final int STATE_CHANGE
public NetModuleEvent(int type,
Object source)
type - NetModule change type, allowed type are defined in
NetModuleEventsource - NetModule where the change happens.public int getType()
NetModuleEvent.public Object getSource()
getSource in class EventObjectCopyright © 2012 CableLabs. All Rights Reserved.