Last active
May 6, 2016 14:06
-
-
Save thfrei/0e0f71cc829c7a6002d3ffe7d6c3e2bc to your computer and use it in GitHub Desktop.
Communicative Act Library suggestion for eve agents: Contract Net Interaction Protocol (call for proposal)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Suggestion for a communicatve act library for agent communication in Javascript. | |
// Initiator: | |
agent | |
.communication('cfp', 'initiator') | |
.recipient(adressOfResponder) | |
.cfp(function) | |
.onRefuse(function) | |
.onPropose(function) | |
.onFailure(function) | |
.onInformDone(function) | |
.onInformResult(function) | |
// Responder | |
agent | |
.communication('cfp', 'responder') | |
.cfp(function) | |
.onRejectProposal(function) | |
.onAcceptProposal(function) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment