public enum EMEPBinding extends Enum<EMEPBinding> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
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.
|
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.
|
PUSH
maps an MEP User message to the 1st leg of an underlying 2-way transport
protocol, or of a 1-way protocol.
|
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).
|
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.
|
SYNC
maps an exchange of two User messages respectively to the first and second
legs of a two-way underlying transport protocol.
|
| Modifier and Type | Field and Description |
|---|---|
static EMEPBinding |
DEFAULT_EBMS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSendUserMessageBack() |
static EMEPBinding |
getFromIDOrNull(String sID) |
static EMEPBinding |
getFromURIOrNull(String sURI) |
String |
getID() |
int |
getRequiredLegs() |
String |
getURI() |
boolean |
isAsynchronous() |
boolean |
isAsynchronousInitiator() |
boolean |
isSynchronous() |
static EMEPBinding |
valueOf(String name)
Returns 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.
|
public static final EMEPBinding PUSH
public static final EMEPBinding PULL
public static final EMEPBinding SYNC
public static final EMEPBinding PUSH_PUSH
public static final EMEPBinding PUSH_PULL
public static final EMEPBinding PULL_PUSH
public static final EMEPBinding DEFAULT_EBMS
public static EMEPBinding[] values()
for (EMEPBinding c : EMEPBinding.values()) System.out.println(c);
public static EMEPBinding valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnegative public int getRequiredLegs()
public boolean isSynchronous()
true if the processing is synchronous (PUSH, PULL or
SYNC), false otherwise.isAsynchronous()public boolean isAsynchronous()
true if the processing is asynchronous (PUSH_PUSH,
PUSH_PULL or PULL_PUSH), false otherwise.isSynchronous()public boolean isAsynchronousInitiator()
true if initiator side has the asynchronous part of
the transfer (this == PUSH_PULL || this == PULL_PUSH)public boolean canSendUserMessageBack()
@Nullable public static EMEPBinding getFromIDOrNull(@Nullable String sID)
@Nullable public static EMEPBinding getFromURIOrNull(@Nullable String sURI)
Copyright © 2015–2020 Philip Helger. All rights reserved.