Class QueryProtocol

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

public class QueryProtocol extends Object implements ConversationProtocol
FIPA Query Interaction Protocol.

Implements the standard query pattern where an initiator asks for information and receives either the information or a failure/refusal.

Protocol Flow

 Initiator                    Responder
     |                            |
     |--- QUERY-IF/QUERY-REF ---->|
     |                            |
     |invalid input: '<'-- INFORM/REFUSE/FAILURE --|
     |                            |