forked from j62/ctbrec
Add new event property OLD
This commit is contained in:
parent
1970f08700
commit
022997f6b6
|
@ -8,11 +8,26 @@ import com.google.common.eventbus.EventBus;
|
|||
public class EventBusHolder {
|
||||
|
||||
public static final String EVENT = "event";
|
||||
public static final String OLD = "old";
|
||||
public static final String STATUS = "status";
|
||||
public static final String MODEL = "model";
|
||||
|
||||
public static enum EVENT_TYPE {
|
||||
/**
|
||||
* This event is fired every time the OnlineMonitor sees a model online
|
||||
* It is also fired, if the model was online before. You can see it as a "still online ping".
|
||||
*/
|
||||
MODEL_ONLINE,
|
||||
|
||||
/**
|
||||
* This event is fired whenever the model's online state (Model.STATUS) changes.
|
||||
*/
|
||||
MODEL_STATUS_CHANGED,
|
||||
|
||||
|
||||
/**
|
||||
* This event is fired whenever the state of a recording changes.
|
||||
*/
|
||||
RECORDING_STATUS_CHANGED
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue