Exemple #1
0
        /// <summary>
        /// Function used to create a AMS object
        /// </summary>
        private void StartAMS()
        {
            APtransportDescription apDescription = new APtransportDescription();

            //TODO: Add a config file
            AgentPlatformDescription platformDescription = new AgentPlatformDescription("ams",
                                                                                        false, false, apDescription);

            _ams = new AMS(platformDescription);
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:m0ch.FIPA.AMS"/> class.
 /// </summary>
 public AMS(AgentPlatformDescription apDescription)
 {
     _activeAgents       = new Dictionary <AID, AMSAgentDescription>();
     this._apDescription = apDescription;
 }