Class RequestProtocol

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

public class RequestProtocol extends Object implements ConversationProtocol
FIPA Request Interaction Protocol.

Implements the standard request/response pattern where an initiator requests an action and receives either agreement/refusal followed by result/failure.

Protocol Flow

 Initiator                    Responder
     |                            |
     |--- REQUEST --------------->|
     |                            |
     |invalid input: '<'-- AGREE/REFUSE -----------|
     |                            |
     |invalid input: '<'-- INFORM/FAILURE ---------|
     |                            |