public abstract class MediatorProtocol extends MultilateralProtocolAdapter
MediatorProtocol
are:
SimpleMediatorBasedProtocol
MediatorFeedbackProtocol
isAborted
Constructor and Description |
---|
MediatorProtocol() |
Modifier and Type | Method and Description |
---|---|
static NegotiationPartyInternal |
getMediator(java.util.List<NegotiationPartyInternal> parties)
Returns the first mediator from a list of parties
|
static java.util.List<NegotiationPartyInternal> |
getNonMediators(java.util.List<NegotiationPartyInternal> parties)
Get the non-mediator parties.
|
afterSession, applyAction, beforeSession, endNegotiation, endNegotiation, exclude, getActionListeners, getCurrentAgreement, getExecutor, getNumberOfAgreeingParties, getRoundStructure, includeOnly, isFinished, setExecutor
public static NegotiationPartyInternal getMediator(java.util.List<NegotiationPartyInternal> parties)
parties
- The list of parties to find the mediator inpublic static java.util.List<NegotiationPartyInternal> getNonMediators(java.util.List<NegotiationPartyInternal> parties)
parties
- The list of parties with mediator