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() | 
handleAlarmpublic 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.Objectpublic void handleTransactionalAlarm(AlarmEntry entry)
TransactionalAlarmListenerInvoked when an alarm is triggered.
handleTransactionalAlarm in class TransactionalAlarmListenerentry - the AlarmEntry which has been triggered.Copyright © 2001-2019 Jalios SA. All Rights Reserved.