public class WFExpressAlarmListener extends TransactionalAlarmListener
Modifier and Type | Field and Description |
---|---|
static int |
ANY_PSTATUS |
protected Channel |
channel |
protected java.lang.String |
pubId |
static java.lang.String |
REVISION |
protected int |
sourcePstatus |
protected int |
targetPstatus |
Constructor and Description |
---|
WFExpressAlarmListener(Publication pub,
int sourcePstatus,
int targetPstatus)
Constructs a new WFExpressAlarmListener
|
Modifier and Type | Method and Description |
---|---|
void |
handleTransactionalAlarm(AlarmEntry entry)
Method to be implemented by subclass.
|
java.lang.String |
toString() |
handleAlarm
public static final java.lang.String REVISION
public static final int ANY_PSTATUS
protected Channel channel
protected java.lang.String pubId
protected int sourcePstatus
protected int targetPstatus
public WFExpressAlarmListener(Publication pub, int sourcePstatus, int targetPstatus)
pub
- the publication to managedsourcePstatus
- the pstatus the publication must have to be updatedtargetPstatus
- the pstatus the publication will have after updatepublic java.lang.String toString()
toString
in class java.lang.Object
public void handleTransactionalAlarm(AlarmEntry entry)
TransactionalAlarmListener
Invoked when an alarm is triggered.
handleTransactionalAlarm
in class TransactionalAlarmListener
entry
- the AlarmEntry which has been triggered.Copyright © 2001-2010 Jalios SA. All Rights Reserved.