Class ProposeProtocol

java.lang.Object
com.tnsai.protocols.fipa.ProposeProtocol
All Implemented Interfaces:
ConversationProtocol

public class ProposeProtocol extends Object implements ConversationProtocol
FIPA Propose Interaction Protocol.

Implements a negotiation pattern where an initiator proposes an action/agreement and the responder can accept or reject.

Protocol Flow

 Initiator                    Responder
     |                            |
     |--- PROPOSE --------------->|
     |                            |
     |invalid input: '<'-- ACCEPT-PROPOSAL --------|
     |    or REJECT-PROPOSAL      |
     |                            |