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