Package jadex.bridge.fipa
Class SFipa
- java.lang.Object
-
- jadex.bridge.fipa.SFipa
-
public class SFipa extends java.lang.Object
Helper class for JADE specific issues.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACCEPT_PROPOSAL
static java.lang.String
AGREE
static java.lang.String
CANCEL
static java.lang.String
CFP
static java.lang.String
COMPONENT_MANAGEMENT_ONTOLOGY_NAME
The name of the fipa component management ontology.static java.lang.String
CONFIRM
static java.lang.String
CONTENT
static java.lang.String
CONVERSATION_ID
protected static int
convidcnt
The counter for conversation ids.static java.lang.String
DF_COMPONENT
The default df component name.static java.lang.String
DISCONFIRM
static java.lang.String
ENCODING
static java.lang.String
FAILURE
static java.lang.String
FIPA_SL
static java.lang.String
FIPA_SL0
static java.lang.String
FIPA_SL1
static java.lang.String
FIPA_SL2
static java.lang.String
IN_REPLY_TO
static java.lang.String
INFORM
static java.lang.String
INFORM_IF
static java.lang.String
INFORM_REF
static java.lang.String
JADEX_BINARY
static java.lang.String
JADEX_RAW
static java.lang.String
JADEX_XML
static java.lang.String
JAVA_XML
static java.lang.String
LANGUAGE
static java.util.Set
MESSAGE_ATTRIBUTES
The allowed message attributes.static java.lang.String
MESSAGE_TYPE_NAME_FIPA
The FIPA message type.static java.lang.String
NOT_UNDERSTOOD
static java.lang.String
NUGGETS_XML
static java.lang.String
ONTOLOGY
static java.lang.String
PERFORMATIVE
static java.util.Collection
PERFORMATIVES
The allowed message attributes.static java.lang.String
PROPAGATE
static java.lang.String
PROPOSE
static java.lang.String
PROTOCOL
static java.lang.String
PROTOCOL_BROKERING
static java.lang.String
PROTOCOL_CANCEL_META
static java.lang.String
PROTOCOL_CONTRACT_NET
static java.lang.String
PROTOCOL_DUTCH_AUCTION
static java.lang.String
PROTOCOL_ENGLISH_AUCTION
static java.lang.String
PROTOCOL_ITERATED_CONTRACT_NET
static java.lang.String
PROTOCOL_PROPOSE
static java.lang.String
PROTOCOL_QUERY
static java.lang.String
PROTOCOL_RECRUITING
static java.lang.String
PROTOCOL_REQUEST
static java.lang.String
PROTOCOL_REQUEST_WHEN
static java.lang.String
PROTOCOL_SUBSCRIBE
static java.util.Collection
PROTOCOLS
The standard protocols.static java.lang.String
PROXY
static java.lang.String
QUERY_IF
static java.lang.String
QUERY_REF
static java.lang.String
RECEIVERS
static java.lang.String
REFUSE
static java.lang.String
REJECT_PROPOSAL
static java.lang.String
REPLY_BY
static java.lang.String
REPLY_TO
static java.lang.String
REPLY_WITH
static java.lang.String
REQUEST
static java.lang.String
REQUEST_WHEN
static java.lang.String
REQUEST_WHENEVER
static java.lang.String
SENDER
static java.lang.String
SUBSCRIBE
static java.lang.String
UNKNOWN
static java.lang.String
X_MESSAGE_ID
static java.lang.String
X_NONFUNCTIONAL
static java.lang.String
X_RECEIVER
static java.lang.String
X_RID
static java.lang.String
X_TIMESTAMP
-
Constructor Summary
Constructors Constructor Description SFipa()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
createReply(java.util.Map<java.lang.String,java.lang.Object> msg)
Create a reply message using a map.static java.lang.String
createUniqueId(java.lang.String name)
Deprecated.Use SUtil.createUniqueId() instead
-
-
-
Field Detail
-
COMPONENT_MANAGEMENT_ONTOLOGY_NAME
public static final java.lang.String COMPONENT_MANAGEMENT_ONTOLOGY_NAME
The name of the fipa component management ontology.- See Also:
- Constant Field Values
-
MESSAGE_TYPE_NAME_FIPA
public static final java.lang.String MESSAGE_TYPE_NAME_FIPA
The FIPA message type.- See Also:
- Constant Field Values
-
DF_COMPONENT
public static final java.lang.String DF_COMPONENT
The default df component name.- See Also:
- Constant Field Values
-
PROTOCOL_REQUEST
public static final java.lang.String PROTOCOL_REQUEST
- See Also:
- Constant Field Values
-
PROTOCOL_QUERY
public static final java.lang.String PROTOCOL_QUERY
- See Also:
- Constant Field Values
-
PROTOCOL_REQUEST_WHEN
public static final java.lang.String PROTOCOL_REQUEST_WHEN
- See Also:
- Constant Field Values
-
PROTOCOL_BROKERING
public static final java.lang.String PROTOCOL_BROKERING
- See Also:
- Constant Field Values
-
PROTOCOL_RECRUITING
public static final java.lang.String PROTOCOL_RECRUITING
- See Also:
- Constant Field Values
-
PROTOCOL_PROPOSE
public static final java.lang.String PROTOCOL_PROPOSE
- See Also:
- Constant Field Values
-
PROTOCOL_SUBSCRIBE
public static final java.lang.String PROTOCOL_SUBSCRIBE
- See Also:
- Constant Field Values
-
PROTOCOL_ENGLISH_AUCTION
public static final java.lang.String PROTOCOL_ENGLISH_AUCTION
- See Also:
- Constant Field Values
-
PROTOCOL_DUTCH_AUCTION
public static final java.lang.String PROTOCOL_DUTCH_AUCTION
- See Also:
- Constant Field Values
-
PROTOCOL_CONTRACT_NET
public static final java.lang.String PROTOCOL_CONTRACT_NET
- See Also:
- Constant Field Values
-
PROTOCOL_ITERATED_CONTRACT_NET
public static final java.lang.String PROTOCOL_ITERATED_CONTRACT_NET
- See Also:
- Constant Field Values
-
PROTOCOL_CANCEL_META
public static final java.lang.String PROTOCOL_CANCEL_META
- See Also:
- Constant Field Values
-
PROTOCOLS
public static final java.util.Collection PROTOCOLS
The standard protocols.
-
ACCEPT_PROPOSAL
public static final java.lang.String ACCEPT_PROPOSAL
- See Also:
- Constant Field Values
-
AGREE
public static final java.lang.String AGREE
- See Also:
- Constant Field Values
-
CANCEL
public static final java.lang.String CANCEL
- See Also:
- Constant Field Values
-
CFP
public static final java.lang.String CFP
- See Also:
- Constant Field Values
-
CONFIRM
public static final java.lang.String CONFIRM
- See Also:
- Constant Field Values
-
DISCONFIRM
public static final java.lang.String DISCONFIRM
- See Also:
- Constant Field Values
-
FAILURE
public static final java.lang.String FAILURE
- See Also:
- Constant Field Values
-
INFORM
public static final java.lang.String INFORM
- See Also:
- Constant Field Values
-
INFORM_IF
public static final java.lang.String INFORM_IF
- See Also:
- Constant Field Values
-
INFORM_REF
public static final java.lang.String INFORM_REF
- See Also:
- Constant Field Values
-
NOT_UNDERSTOOD
public static final java.lang.String NOT_UNDERSTOOD
- See Also:
- Constant Field Values
-
PROPOSE
public static final java.lang.String PROPOSE
- See Also:
- Constant Field Values
-
QUERY_IF
public static final java.lang.String QUERY_IF
- See Also:
- Constant Field Values
-
QUERY_REF
public static final java.lang.String QUERY_REF
- See Also:
- Constant Field Values
-
REFUSE
public static final java.lang.String REFUSE
- See Also:
- Constant Field Values
-
REJECT_PROPOSAL
public static final java.lang.String REJECT_PROPOSAL
- See Also:
- Constant Field Values
-
REQUEST
public static final java.lang.String REQUEST
- See Also:
- Constant Field Values
-
REQUEST_WHEN
public static final java.lang.String REQUEST_WHEN
- See Also:
- Constant Field Values
-
REQUEST_WHENEVER
public static final java.lang.String REQUEST_WHENEVER
- See Also:
- Constant Field Values
-
SUBSCRIBE
public static final java.lang.String SUBSCRIBE
- See Also:
- Constant Field Values
-
PROXY
public static final java.lang.String PROXY
- See Also:
- Constant Field Values
-
PROPAGATE
public static final java.lang.String PROPAGATE
- See Also:
- Constant Field Values
-
UNKNOWN
public static final java.lang.String UNKNOWN
- See Also:
- Constant Field Values
-
PERFORMATIVES
public static final java.util.Collection PERFORMATIVES
The allowed message attributes.
-
ENCODING
public static final java.lang.String ENCODING
- See Also:
- Constant Field Values
-
IN_REPLY_TO
public static final java.lang.String IN_REPLY_TO
- See Also:
- Constant Field Values
-
LANGUAGE
public static final java.lang.String LANGUAGE
- See Also:
- Constant Field Values
-
ONTOLOGY
public static final java.lang.String ONTOLOGY
- See Also:
- Constant Field Values
-
PROTOCOL
public static final java.lang.String PROTOCOL
- See Also:
- Constant Field Values
-
REPLY_BY
public static final java.lang.String REPLY_BY
- See Also:
- Constant Field Values
-
REPLY_WITH
public static final java.lang.String REPLY_WITH
- See Also:
- Constant Field Values
-
RECEIVERS
public static final java.lang.String RECEIVERS
- See Also:
- Constant Field Values
-
REPLY_TO
public static final java.lang.String REPLY_TO
- See Also:
- Constant Field Values
-
PERFORMATIVE
public static final java.lang.String PERFORMATIVE
- See Also:
- Constant Field Values
-
CONTENT
public static final java.lang.String CONTENT
- See Also:
- Constant Field Values
-
SENDER
public static final java.lang.String SENDER
- See Also:
- Constant Field Values
-
CONVERSATION_ID
public static final java.lang.String CONVERSATION_ID
- See Also:
- Constant Field Values
-
X_MESSAGE_ID
public static final java.lang.String X_MESSAGE_ID
- See Also:
- Constant Field Values
-
X_TIMESTAMP
public static final java.lang.String X_TIMESTAMP
- See Also:
- Constant Field Values
-
X_RID
public static final java.lang.String X_RID
- See Also:
- Constant Field Values
-
X_RECEIVER
public static final java.lang.String X_RECEIVER
- See Also:
- Constant Field Values
-
X_NONFUNCTIONAL
public static final java.lang.String X_NONFUNCTIONAL
- See Also:
- Constant Field Values
-
MESSAGE_ATTRIBUTES
public static final java.util.Set MESSAGE_ATTRIBUTES
The allowed message attributes.
-
FIPA_SL0
public static final java.lang.String FIPA_SL0
- See Also:
- Constant Field Values
-
FIPA_SL1
public static final java.lang.String FIPA_SL1
- See Also:
- Constant Field Values
-
FIPA_SL2
public static final java.lang.String FIPA_SL2
- See Also:
- Constant Field Values
-
FIPA_SL
public static final java.lang.String FIPA_SL
- See Also:
- Constant Field Values
-
JAVA_XML
public static final java.lang.String JAVA_XML
- See Also:
- Constant Field Values
-
JADEX_XML
public static final java.lang.String JADEX_XML
- See Also:
- Constant Field Values
-
JADEX_RAW
public static final java.lang.String JADEX_RAW
- See Also:
- Constant Field Values
-
JADEX_BINARY
public static final java.lang.String JADEX_BINARY
- See Also:
- Constant Field Values
-
NUGGETS_XML
public static final java.lang.String NUGGETS_XML
- See Also:
- Constant Field Values
-
convidcnt
protected static int convidcnt
The counter for conversation ids.
-
-
Method Detail
-
createUniqueId
public static java.lang.String createUniqueId(java.lang.String name)
Deprecated.Use SUtil.createUniqueId() insteadCreate a globally unique conversation id.- Returns:
- The conversation id.
-
createReply
public static java.util.Map<java.lang.String,java.lang.Object> createReply(java.util.Map<java.lang.String,java.lang.Object> msg)
Create a reply message using a map.- Parameters:
msg
- The fipa message as map.- Returns:
- The reply.
-
-