public class SimpleMediatorBasedProtocol extends MultiPartyProtocol
deadlineType, involveMediator, negoResultFile, negoRound, negoSession, negoThread, negotiatingParties, partyIDList, partyParams, partyRepItems, partyUtilitySpaces, sessionTotalNumber, totalRoundOrTime, txtNegoResult, writeFileStream
Constructor and Description |
---|
SimpleMediatorBasedProtocol(java.util.ArrayList<PartyRepItem> partyRepItems,
java.util.ArrayList<AgentID> partyIDList,
java.util.ArrayList<ProfileRepItem> profileRepItems,
java.util.ArrayList<java.util.HashMap<AgentParameterVariable,AgentParamValue>> partyParams,
DeadlineType deadlineType,
int totalRoundOrTime) |
Modifier and Type | Method and Description |
---|---|
void |
setNegoRound() |
void |
setPartsListener() |
addNegotiationEventListener, fireMultipartyNegotiationEvent, getNegotiationEventListeners, removeNegotiationEventListener, run, runNegotiationSession, setTxtNegoResult, startNegotiation
public SimpleMediatorBasedProtocol(java.util.ArrayList<PartyRepItem> partyRepItems, java.util.ArrayList<AgentID> partyIDList, java.util.ArrayList<ProfileRepItem> profileRepItems, java.util.ArrayList<java.util.HashMap<AgentParameterVariable,AgentParamValue>> partyParams, DeadlineType deadlineType, int totalRoundOrTime) throws java.lang.Exception
java.lang.Exception
public void setNegoRound()
setNegoRound
in class MultiPartyProtocol
public void setPartsListener()
setPartsListener
in class MultiPartyProtocol