fipaos.parser.acl.bitefficient
Class ACLPerformatives

java.lang.Object
  |
  +--fipaos.parser.acl.bitefficient.ACLPerformatives
All Implemented Interfaces:
ACLConstants

public class ACLPerformatives
extends java.lang.Object
implements ACLConstants

Mapping between JADE performative codes and bitefficient ones.

Author:
Heikki Helin, Mikko Laukkanen

Fields inherited from interface fipaos.parser.acl.bitefficient.ACLConstants
ACL_ABS_DATE_FOLLOWS, ACL_ABS_DATET_FOLLOWS, ACL_ACCEPTPROPOSAL, ACL_AGREE, ACL_AID_ADDRESSES, ACL_AID_FOLLOWS, ACL_AID_RESOLVERS, ACL_AID_USERDEFINED, ACL_BITEFFICIENT, ACL_BITEFFICIENT_CODETABLE, ACL_BITEFFICIENT_NO_CODETABLE, ACL_CANCEL, ACL_CFP, ACL_CONFIRM, ACL_CT_BLE_STR_FOLLOWS, ACL_CT_STRING_FOLLOWS, ACL_CT_WORD_FOLLOWS, ACL_DATE_FOLLOWS, ACL_DATE_LEN, ACL_DECNUM_FOLLOWS, ACL_DISCONFIRM, ACL_END_OF_COLLECTION, ACL_END_OF_MSG, ACL_END_OF_PARAM, ACL_EXPR_LEVEL_DOWN, ACL_EXPR_LEVEL_UP, ACL_FAILURE, ACL_HEXNUM_FOLLOWS, ACL_INFORM, ACL_INFORMIF, ACL_INFORMREF, ACL_MSG_CONTENT_TYPE_OBJECT, ACL_MSG_CONTENT_TYPE_STRING, ACL_MSG_PARAM_CONTENT, ACL_MSG_PARAM_CONVERSATION_ID, ACL_MSG_PARAM_ENCODING, ACL_MSG_PARAM_IN_REPLY_TO, ACL_MSG_PARAM_LANGUAGE, ACL_MSG_PARAM_ONTOLOGY, ACL_MSG_PARAM_PROTOCOL, ACL_MSG_PARAM_RECEIVER, ACL_MSG_PARAM_REPLY_BY, ACL_MSG_PARAM_REPLY_TO, ACL_MSG_PARAM_REPLY_WITH, ACL_MSG_PARAM_SENDER, ACL_NEW_BLE_STR16_FOLLOWS, ACL_NEW_BLE_STR32_FOLLOWS, ACL_NEW_BLE_STR8_FOLLOWS, ACL_NEW_MSGPARAM_FOLLOWS, ACL_NEW_MSGTYPE_FOLLOWS, ACL_NEW_STRING_FOLLOWS, ACL_NEW_WORD_FOLLOWS, ACL_NOTUNDERSTOOD, ACL_PROPAGATE, ACL_PROPOSE, ACL_PROXY, ACL_QUERYIF, ACL_QUERYREF, ACL_REFUSE, ACL_REJECTPROPOSAL, ACL_REQUEST, ACL_REQUESTWHEN, ACL_REQUESTWHENEVER, ACL_SUBSCRIBE, ACL_VERSION
 
Constructor Summary
ACLPerformatives()
           
 
Method Summary
 int getCA(byte b)
          Returns FIPAOS code for performative
 int getCA(java.lang.String b)
           
 byte getCACode(int b)
          Returns bit-efficient code for performative
 byte getCACode(java.lang.String b)
           
 java.lang.String getCAString(byte b)
          Returns performative string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACLPerformatives

public ACLPerformatives()
Method Detail

getCA

public int getCA(byte b)
Returns FIPAOS code for performative

getCA

public int getCA(java.lang.String b)

getCAString

public java.lang.String getCAString(byte b)
Returns performative string

getCACode

public byte getCACode(int b)
Returns bit-efficient code for performative
Parameters:
b - JADE code for performative

getCACode

public byte getCACode(java.lang.String b)