Package com.helger.phase4.model
Enum EMEPBinding
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,Serializable,Comparable<EMEPBinding>,java.lang.constant.Constable
Predefines transport channel bindings.
- Author:
- Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionmaps an MEP User message to the second leg of an underlying two-way transport protocol, as a result of an ebMS Pull Signal sent over the first leg.The Two-Way/Pull-and-Push MEP composes the choreography of a One-Way/Pull MEP followed by the choreography of a One-Way/Push MEP, with both MEPs initiated from the same MSH.maps an MEP User message to the 1st leg of an underlying 2-way transport protocol, or of a 1-way protocol.The Two-Way/Push-and-Pull MEP composes the choreography of a One-Way/Push MEP followed by the choreography of a One-Way/Pull MEP, both initiated from the same MSH (Initiator).The Two-Way/Push-and-Push MEP composes the choreographies of two One-Way/Push MEPs in opposite directions, the User Message unit of the second referring to the User Message unit of the first via eb:RefToMessageId.maps an exchange of two User messages respectively to the first and second legs of a two-way underlying transport protocol. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EMEPBindinggetFromIDOrNull(String sID) static EMEPBindinggetFromURIOrNull(String sURI) getID()intgetURI()booleanbooleanbooleanstatic EMEPBindingReturns the enum constant of this type with the specified name.static EMEPBinding[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PUSH
maps an MEP User message to the 1st leg of an underlying 2-way transport protocol, or of a 1-way protocol. -
PULL
maps an MEP User message to the second leg of an underlying two-way transport protocol, as a result of an ebMS Pull Signal sent over the first leg. -
SYNC
maps an exchange of two User messages respectively to the first and second legs of a two-way underlying transport protocol. -
PUSH_PUSH
The Two-Way/Push-and-Push MEP composes the choreographies of two One-Way/Push MEPs in opposite directions, the User Message unit of the second referring to the User Message unit of the first via eb:RefToMessageId. -
PUSH_PULL
The Two-Way/Push-and-Pull MEP composes the choreography of a One-Way/Push MEP followed by the choreography of a One-Way/Pull MEP, both initiated from the same MSH (Initiator). The User Message unit in the "pulled" message must refer to the previously "pushed" User Message unit. -
PULL_PUSH
The Two-Way/Pull-and-Push MEP composes the choreography of a One-Way/Pull MEP followed by the choreography of a One-Way/Push MEP, with both MEPs initiated from the same MSH. The User Message unit in the "pushed" message must refer to the previously "pulled" User Message unit.
-
-
Field Details
-
DEFAULT_EBMS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getID
- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>
-
getURI
-
getRequiredLegs
-
isSynchronous
public boolean isSynchronous()- Returns:
trueif the processing is synchronous (PUSH, PULL or SYNC),falseotherwise.- See Also:
-
isAsynchronous
public boolean isAsynchronous()- Returns:
trueif the processing is asynchronous (PUSH_PUSH, PUSH_PULL or PULL_PUSH),falseotherwise.- See Also:
-
isAsynchronousInitiator
public boolean isAsynchronousInitiator()- Returns:
trueif initiator side has the asynchronous part of the transfer (this == PUSH_PULL || this == PULL_PUSH)
-
canSendUserMessageBack
public boolean canSendUserMessageBack() -
getFromIDOrNull
-
getFromURIOrNull
-