Uses of Class
gov.nasa.arc.brahms.vm.api.exceptions.ExternalException

Packages that use ExternalException
brahms.base.directory   
brahms.base.system   
brahms.base.util   
brahms.communication   
brahms.io   
gov.nasa.arc.brahms.vm.api   
gov.nasa.arc.brahms.vm.api.common   
gov.nasa.arc.brahms.vm.api.components   
gov.nasa.arc.brahms.vm.api.convert   
gov.nasa.arc.brahms.vm.api.exceptions   
gov.nasa.arc.brahms.vm.api.jac   
gov.nasa.arc.brahms.vm.api.jagt   
gov.nasa.arc.brahms.vm.api.jsvc   
 

Uses of ExternalException in brahms.base.directory
 

Methods in brahms.base.directory that throw ExternalException
 void FindObject.doActivity()
          Executes the java activity action.
 void FindAgent.doActivity()
          Executes the java activity action.
 

Uses of ExternalException in brahms.base.system
 

Methods in brahms.base.system that throw ExternalException
static java.io.Serializable[] CreateArrayActivity.createArray(IVariable arrayVariable, int length)
           
 void ToIntActivity.doActivity()
          Executes the java activity action.
 void SetJavaAttributeValueActivity.doActivity()
          Performs the activity
 void SendBeliefsActivity.doActivity()
          Executes the java activity action.
 void RetractFactsActivity.doActivity()
          Executes the java activity action.
 void RetractBeliefsActivity.doActivity()
          Executes the java activity action.
 void ReplaceActivity.doActivity()
          Implement the activity
 void RegisterWithAgentMonitorActivity.doActivity()
          Executes the java activity action.
 void ReadBeliefsActivity.doActivity()
          Executes the java activity action.
 void PrintlnActivity.doActivity()
          Executes the java activity action.
 void PrintFactActivity.doActivity()
          Executes the java activity action.
 void PrintBeliefActivity.doActivity()
          Executes the java activity action.
 void GetObjectAtActivity.doActivity()
          Performs the activity
 void GetJavaAttributeValueActivity.doActivity()
          Performs the activity
 void GetArrayLengthActivity.doActivity()
           
 void DeregisterFromAgentMonitorActivity.doActivity()
          Executes the java activity action.
 void CreateExternalAgentActivity.doActivity()
          Executes the java activity action.
 void CreateArrayActivity.doActivity()
           
 void AddObjectToArrayActivity.doActivity()
          Grow the array by one and add the object to its end.
 

Uses of ExternalException in brahms.base.util
 

Methods in brahms.base.util that throw ExternalException
 void SetPropertyValueActivity.doActivity()
          Executes the java activity action.
 void RTPrimitiveActivity.doActivity()
          Executes the java activity action.
 void ParsePrimitiveValueActivity.doActivity()
          Executes the java activity action.
 void LoadPropertiesActivity.doActivity()
          Executes the java activity action.
 void InDateRangeActivity.doActivity()
          Executes the java activity action.
 void GetYesterdayActivity.doActivity()
          Executes the java activity action.
 void GetTomorrowActivity.doActivity()
          Executes the java activity action.
 void GetTimeStampActivity.doActivity()
          Executes the java activity action.
 void GetPropertyValueActivity.doActivity()
          Executes the java activity action.
 void GetCurrentTimeActivity.doActivity()
          Executes the java activity action.
 void GetCalendarActivity.doActivity()
          Executes the java activity action.
 void ConvertToTimeZoneActivity.doActivity()
          Executes the java activity action.
 void AddTimeActivity.doActivity()
          Executes the java activity action.
static IObject BrahmsCalendar.getBrahmsCalendar(java.util.GregorianCalendar calendar, IObject brahmsCalendar, IContext ctx)
          Converts a Java GregorianCalendar into a Brahms Calendar.
static IClass BrahmsCalendar.getCalendarClass()
          Returns the Brahms Calendar class.
static java.util.GregorianCalendar BrahmsCalendar.getJavaCalendar(IObject calendar, IContext ctx)
          Converts a Brahms Calendar into a Java GregorianCalendar.
static void BrahmsCalendar.init()
          Initializes the class attributes.
static java.util.GregorianCalendar BrahmsCalendar.parseTimeStamp(java.lang.String timeStamp)
          Parses the specified timestamp into a GregorianCalendar.
 

Uses of ExternalException in brahms.communication
 

Methods in brahms.communication that throw ExternalException
static CommunicativeAct CommunicativeActFactory.createCommunicativeAct(IActiveInstance sender, IActiveInstance receiver, IActiveInstance replyTo, Performative performative, boolean generateConversationID, java.lang.String action, java.lang.String subject, IContext ctx)
          Creates a new communicative act object populated with the specified information
static CommunicativeAct CommunicativeActFactory.createCommunicativeAct(IActiveInstance sender, IActiveInstance receiver, IActiveInstance replyTo, Performative performative, java.lang.String conversationID, java.lang.String action, java.lang.String subject, IContext ctx)
          Creates a new communicative act object populated with the specified information
static CommunicativeAct CommunicativeActFactory.createCommunicativeAct(IActiveInstance sender, IActiveInstance receiver, Performative performative, boolean generateConversationID, java.lang.String action, java.lang.String subject, IContext ctx)
          Creates a new communicative act object populated with the specified information
static CommunicativeAct CommunicativeActFactory.createCommunicativeAct(IActiveInstance sender, IActiveInstance receiver, Performative performative, java.lang.String conversationID, java.lang.String action, java.lang.String subject, IContext ctx)
          Creates a new communicative act object populated with the specified information
protected static CommunicativeAct CommunicativeActFactory.createCommunicativeAct(Performative performative, java.lang.String action, IContext ctx)
          Creates an empty communicative act object for which only the Performative and action are specified as the minimum properties to define the name of the CommunicativeAct.
static IObject CommunicativeAct.createCommunicativeAct(java.lang.String action, java.lang.String subject, java.lang.String performative, IActiveInstance sender, IActiveInstance receiver, IActiveInstance replyTo, IContext ctx)
          Deprecated.  
static IObject CommunicativeAct.createCommunicativeAct(java.lang.String action, java.lang.String subject, java.lang.String performative, IActiveInstance sender, IActiveInstance receiver, IContext ctx)
          Deprecated.  
static java.lang.String CommunicativeActFactory.createConversationID(CommunicativeAct ca)
          Generates a conversation id for a CommunicativeAct.
 void SetCommunicativeActProperty.doActivity()
          Executes the java activity action.
 void SendCommunicativeActActivity.doActivity()
          Executes the java activity action.
 void RetractCommunicativeActActivity.doActivity()
          Executes the java activity action.
 void GetCommunicativeActProperty.doActivity()
          Executes the java activity action.
 void CreateCommunicativeActActivity.doActivity()
          Executes the java activity action.
 void AbstractCommunicationAgent.doWork()
          The virtual machine takes care of having the agent run in its own thread of execution.
static boolean CommunicativeAct.getBooleanPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the boolean value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
static IClass CommunicativeAct.getCommunicativeActClass()
          Returns the Brahms IClass for CommunicativeAct from the current model.
static IConcept CommunicativeAct.getConceptPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the IConcept value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
static double CommunicativeAct.getDoublePropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the double value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
static int CommunicativeAct.getIntPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the int property value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
static long CommunicativeAct.getLongPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the long property value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
static java.io.Serializable CommunicativeAct.getSerializablePropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the Serializable value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
static java.lang.String CommunicativeAct.getStringPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the string property value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
static java.lang.String CommunicativeAct.getSymbolPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the symbol property value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
static IUnknown CommunicativeAct.getUnknownPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IContext ctx)
          Returns the boolean value keyed to the given key in the map identified by the given MAP constant in the given communicative act.
 void AbstractCommunicationAgent.initialize()
          Initialize is used to initialize the external agent after it has been loaded into the virtual machine.
 void AbstractCommunicationAgent.onAssert(IFact fact)
          onAssert is called by the virtual machine whenever a new fact is asserted in the world state.
abstract  void AbstractCommunicationAgent.onInitialize()
          Called when the agent is being initialized after it has been loaded into virtual machine.
 void AbstractCommunicationAgent.onPause()
          Called when the agent is being paused.
 void AbstractCommunicationAgent.onProcess(long time)
          onProcess is called by the virtual machine when the virtual machine is in simulation mode and the agent is notified by the scheduler that it is allowed to process any events for the specified time.
 void AbstractCommunicationAgent.onReceive(IBelief belief)
          onReceive is called by the virtual machine whenever a new belief is communicated to the external agent by another agent or object.
 void AbstractCommunicationAgent.onReset()
          Called when the agent is being reset.
 void AbstractCommunicationAgent.onResume()
          Called when the agent is being resumed from a pause.
 void AbstractCommunicationAgent.onRetract(IFact fact)
          onRetract is called by the virtual machine whenever a fact is retracted from the world state.
abstract  void AbstractCommunicationAgent.onStart()
          Called when the agent is being started.
abstract  void AbstractCommunicationAgent.onStop()
          Called when the agent is being stopped.
 IStatement[] CommunicativeActBeliefOrganizer.organize(java.util.Enumeration statements)
          Organizes the specified enumeration of statements and returns the organized set of statements.
 IStatement[] CommunicativeActBeliefOrganizer.organize(IStatement[] statements)
          Organizes the specified array of statements and returns the organized set of statements.
 void AbstractCommunicationAgent.pause()
          Pauses the external agent.
static CommunicativeAct CommunicativeActFactory.populateCommunicativeAct(CommunicativeAct ca, IActiveInstance sender, IActiveInstance receiver, IActiveInstance replyTo, Performative performative, java.lang.String conversationID, java.lang.String action, java.lang.String subject, IContext ctx)
          Populates the specified communicative act with the specified information
 void AbstractCommunicationAgent.reset()
          Resets the external agent to the initialized state as it was placed in using the initialize method, performing any additional clean-up if necessary.
 void AbstractCommunicationAgent.resume()
          Resumes the external agent from a pause.
static void CommunicativeAct.sendCommunicativeAct(IObject commAct, IActiveInstance receiver, IContext ctx)
          Sends the beliefs stored in the specified Brahms CommunicativeAct to the the specified receiver and makes sure that the 'envelope("sender")' belief is sent last.
 void AbstractCommunicationAgent.sendMessage(CommunicativeAct message, IActiveInstance recipient)
          Sends the specified message to the specified recipient.
 void AbstractCommunicationAgent.sendMessage(CommunicativeAct message, IActiveInstance recipient, IReplyHandler replyHandler)
          Sends the specified message to the specified recipient and has responses for the specified message sent to the specified reply handler.
static void CommunicativeAct.setAction(IObject communicativeAct, java.lang.String action, IContext ctx)
          Sets the action for the specified communicative act.
 void CommunicativeAct.setAction(java.lang.String value)
          Sets the communicative act's action, does not set the belief.
 void CommunicativeAct.setAction(java.lang.String value, IContext ctx)
          Sets the communicative act's action, also set the belief.
static void CommunicativeAct.setConversationID(IObject communicativeAct, java.lang.String conversationID, IContext ctx)
          Sets the conversation-id for the specified communicative act.
 void CommunicativeAct.setConversationID(java.lang.String value)
          Sets the communicative act's conversation-id, does not set the belief.
 void CommunicativeAct.setConversationID(java.lang.String value, IContext ctx)
          Sets the communicative act's conversation-id, also set the belief.
 void CommunicativeAct.setDate(java.lang.String value)
          Sets the communicative act's date, does not set the belief.
 void CommunicativeAct.setDate(java.lang.String value, IContext ctx)
          Sets the communicative act's date, also set the belief.
 void CommunicativeAct.setFrom(IActiveInstance value)
          Sets the communicative act's sender in the envelope, does not set the belief.
 void CommunicativeAct.setFrom(IActiveInstance value, IContext ctx)
          Sets the communicative act's sender in the payload, also set the belief.
static void CommunicativeAct.setPerformative(IObject communicativeAct, java.lang.String performative, IContext ctx)
          Sets the performative for the specified communicative act.
 void CommunicativeAct.setPerformative(Performative value)
          Sets the communicative act's performative, does not set the belief.
 void CommunicativeAct.setPerformative(java.lang.String value, IContext ctx)
          Sets the communicative act's performative, also set the belief.
 void CommunicativeAct.setPropertyValue(CommunicativeAct.MAP map, java.lang.String key, boolean value, IContext ctx)
          Sets a property value for the communicative act.
 void CommunicativeAct.setPropertyValue(CommunicativeAct.MAP map, java.lang.String key, double value, IContext ctx)
          Sets a property value for the communicative act.
 void CommunicativeAct.setPropertyValue(CommunicativeAct.MAP map, java.lang.String key, IConcept value, IContext ctx)
          Sets a property value for the communicative act.
 void CommunicativeAct.setPropertyValue(CommunicativeAct.MAP map, java.lang.String key, int value, IContext ctx)
          Sets a property value for the communicative act.
 void CommunicativeAct.setPropertyValue(CommunicativeAct.MAP map, java.lang.String key, IUnknown value, IContext ctx)
          Sets a property value for the communicative act.
 void CommunicativeAct.setPropertyValue(CommunicativeAct.MAP map, java.lang.String key, long value, IContext ctx)
          Sets a property value for the communicative act.
 void CommunicativeAct.setPropertyValue(CommunicativeAct.MAP map, java.lang.String key, java.io.Serializable value, IContext ctx)
          Sets a property value for the communicative act.
 void CommunicativeAct.setPropertyValue(CommunicativeAct.MAP map, java.lang.String key, java.lang.String value, boolean symbol, IContext ctx)
          Sets a property value for the communicative act.
static void CommunicativeAct.setPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, boolean value, IContext ctx)
          Sets a property value for the specified communicative act.
static void CommunicativeAct.setPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, double value, IContext ctx)
          Sets a property value for the specified communicative act.
static void CommunicativeAct.setPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IConcept value, IContext ctx)
          Sets a property value for the specified communicative act.
static void CommunicativeAct.setPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, int value, IContext ctx)
          Sets a property value for the specified communicative act.
static void CommunicativeAct.setPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, IUnknown value, IContext ctx)
          Sets a property value for the specified communicative act.
static void CommunicativeAct.setPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, long value, IContext ctx)
          Sets a property value for the specified communicative act.
static void CommunicativeAct.setPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, java.io.Serializable value, IContext ctx)
          Sets a property value for the specified communicative act.
static void CommunicativeAct.setPropertyValue(IObject communicativeAct, CommunicativeAct.MAP map, java.lang.String key, java.lang.String value, boolean symbol, IContext ctx)
          Sets a property value for the specified communicative act.
static void CommunicativeAct.setRaisedException(IObject communicativeAct, IConceptualObject exception, IActiveInstance sender, IContext ctx)
          Sets the 'raisedException' attribute for the given communicative act.
 void CommunicativeAct.setReceiver(IActiveInstance value)
          Sets the communicative act's receiver in the payload, does not set the belief
 void CommunicativeAct.setReceiver(IActiveInstance value, IContext ctx)
          Sets the communicative act's receiver in the payload, also set the belief.
static void CommunicativeAct.setReceiver(IObject communicativeAct, IActiveInstance receiver, IContext ctx)
          Sets the receiver attribute for the specified communicative act.
 void CommunicativeAct.setReplyTo(IActiveInstance value)
          Sets the communicative act's reply to, does not set the belief.
 void CommunicativeAct.setReplyTo(IActiveInstance value, IContext ctx)
          Sets the communicative act's reply to, also set the belief.
static void CommunicativeAct.setReplyTo(IObject communicativeAct, IActiveInstance replyTo, IContext ctx)
          Sets the replyTo attribute for the specified communicative act.
 void CommunicativeAct.setSender(IActiveInstance value)
          Sets the communicative act's sender in the payload, does not set the belief
 void CommunicativeAct.setSender(IActiveInstance value, IContext ctx)
          Sets the communicative act's sender in the payload, also set the belief.
static void CommunicativeAct.setSender(IObject communicativeAct, IActiveInstance sender, IContext ctx)
          Sets the sender attribute for the specified communicative act.
static void CommunicativeAct.setSubject(IObject communicativeAct, java.lang.String subject, IContext ctx)
          Sets the subject for the specified communicative act.
 void CommunicativeAct.setSubject(java.lang.String value)
          Sets the communicative act's subject, does not set the belief.
 void CommunicativeAct.setSubject(java.lang.String value, IContext ctx)
          Sets the communicative act's subject, also set the belief.
 void CommunicativeAct.setTo(IActiveInstance value)
          Sets the communicative act's receiver in the envelope, does not set the belief
 void CommunicativeAct.setTo(IActiveInstance value, IContext ctx)
          Sets the communicative act's receiver in the payload, also set the belief.
 void AbstractCommunicationAgent.start()
          Starts the external agent.
 void AbstractCommunicationAgent.stop()
          Stops the external agent.
 

Constructors in brahms.communication that throw ExternalException
CommunicativeAct(IObject communicativeAct, IContext ctx)
          Constructor, creates a new CommunicativeAct to represent a Brahms CommunicativeAct and automatically reads the attribute values from the communicative act.
CommunicativeAct(IObject communicativeAct, IContext ctx, boolean retrieveMapValues)
          Constructor, creates a new CommunicativeAct to represent a Brahms CommunicativeAct.
 

Uses of ExternalException in brahms.io
 

Methods in brahms.io that throw ExternalException
 void VerifyChecksumActivity.doActivity()
          Executes the java activity action.
 void FileExistsActivity.doActivity()
          Executes the java activity action.
 void DeleteFileActivity.doActivity()
          Executes the java activity action.
 void CopyFileActivity.doActivity()
          Executes the java activity action.
 

Uses of ExternalException in gov.nasa.arc.brahms.vm.api
 

Methods in gov.nasa.arc.brahms.vm.api that throw ExternalException
static IModel JAPI.getModel()
          Returns a reference to the model loaded in the virtual machine.
static IVMController JAPI.getVMController()
          Returns the virtual machine's controller usable by this agent.
 IVMController IBVM.getVMController()
          Returns the virtual machine's controller
static IWorldState JAPI.getWorldState()
          Returns a reference to the world state managing the fact set.
 

Uses of ExternalException in gov.nasa.arc.brahms.vm.api.common
 

Methods in gov.nasa.arc.brahms.vm.api.common that throw ExternalException
 boolean IConceptualObject.acquireMemoryReference(IContext ctx)
          Has the calling agent acquire a reference to this IConceptualObject indicating that it wishes to use this reference and to ensure that this IConceptualObject will not get deleted.
 boolean IActiveInstance.acquireMemoryReference(IContext ctx)
          Has the calling agent acquire a reference to this IActiveInstance indicating that it wishes to use this reference and to ensure that this IActiveInstance will not get deleted.
 void IActiveInstance.addBeliefRelationConcept(IConcept lhsConcept, java.lang.String relationName, IConcept rhsConcept, IContext ctx)
          Adds a concept as a value of a named relation for a concept by asserting a new belief into the belief state.
 void IVariable.addValue(boolean value)
          Adds the specified value to the variable's binding.
 void IVariable.addValue(double value)
          Adds the specified value to the variable's binding.
 void IVariable.addValue(IConcept value)
          Adds the specified value to the variable's binding.
 void IVariable.addValue(int value)
          Adds the specified value to the variable's binding.
 void IVariable.addValue(IUnknown value)
          Adds the 'unknown' value to the variable's binding.
 void IVariable.addValue(long value)
          Adds the specified value to the variable's binding.
 void IVariable.addValue(java.io.Serializable value)
          Adds the specified variable to the variable's binding.
 void IVariable.addValue(java.lang.String value)
          Adds the specified value to the variable's binding.
 void IActiveInstance.assertBelief(IBelief belief, IContext ctx)
          Schedules the assertion of the specified belief to the active instance's belief set.
 void IActiveInstance.assertBeliefs(IBelief[] beliefs, IContext ctx)
          Schedules the assertion of the specified beliefs to the active instance's belief set.
static IAgent AgentFactory.createAgent(java.lang.String name, IGroup[] groups, IConte