|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.bff.javampd.events.MPDChangeEvent
public class MPDChangeEvent
An event used to identify an administrative action.
| Field Summary | |
|---|---|
static int |
MPD_KILLED
administrator killed the connection |
static int |
MPD_REFRESHED
administrator refreshed the database |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
MPDChangeEvent(java.lang.Object source,
int id)
Creates a new instance of MusicPlayerStatusChangedEvent |
|
MPDChangeEvent(java.lang.Object source,
int id,
java.lang.String msg)
Creates a new instance of MusicPlayerStatusChangedEvent |
|
| Method Summary | |
|---|---|
int |
getId()
Returns specific id of the event that occurred. |
java.lang.String |
getMsg()
Returns the message attached to this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MPD_KILLED
public static final int MPD_REFRESHED
| Constructor Detail |
|---|
public MPDChangeEvent(java.lang.Object source,
int id)
source - the object on which the Event initially occurredid - the specific event that occurred
public MPDChangeEvent(java.lang.Object source,
int id,
java.lang.String msg)
source - the object on which the Event initially occurredid - the specific event that occurredmsg - an optional message| Method Detail |
|---|
public int getId()
public java.lang.String getMsg()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||