Search in sources :

Example 6 with PModeReceptionAwareness

use of com.helger.phase4.model.pmode.PModeReceptionAwareness in project phase4 by phax.

the class CEFPMode method generatePModeReceptionAwareness.

@Nonnull
public static PModeReceptionAwareness generatePModeReceptionAwareness() {
    final ETriState eReceptionAwareness = ETriState.TRUE;
    final ETriState eRetry = ETriState.TRUE;
    final int nMaxRetries = 1;
    final int nRetryIntervalMS = 10_000;
    final ETriState eDuplicateDetection = ETriState.TRUE;
    return new PModeReceptionAwareness(eReceptionAwareness, eRetry, nMaxRetries, nRetryIntervalMS, eDuplicateDetection);
}
Also used : ETriState(com.helger.commons.state.ETriState) PModeReceptionAwareness(com.helger.phase4.model.pmode.PModeReceptionAwareness) Nonnull(javax.annotation.Nonnull)

Aggregations

Nonnull (javax.annotation.Nonnull)5 PModeReceptionAwareness (com.helger.phase4.model.pmode.PModeReceptionAwareness)4 ETriState (com.helger.commons.state.ETriState)3 EMEP (com.helger.phase4.model.EMEP)2 EMEPBinding (com.helger.phase4.model.EMEPBinding)2 PModeLeg (com.helger.phase4.model.pmode.leg.PModeLeg)2 IJsonObject (com.helger.json.IJsonObject)1