Class SuperSimpleMigratingByInviteMind

java.lang.Object
cmion.level3.supersimplemind.SuperSimpleMigratingByInviteMind

public class SuperSimpleMigratingByInviteMind extends Object
an example mind for demonstrating and testing migration by invite
  • Constructor Details

  • Method Details

    • getAgentName

      public String getAgentName()
      returns the name of the agent
    • sendAwake

      public void sendAwake()
      this is called to awake the mind
    • sendFailure

      public void sendFailure(MindAction a)
      notify the mind of an action failure
    • sendSuccess

      public void sendSuccess(MindAction a)
      notify the mind of an action success
    • sendSleep

      public void sendSleep()
      send the mind to sleep
    • sendRemoteAction

      public void sendRemoteAction(MindAction remoteAction)
      the mind processes remote actions (actions of other agents / users) in this function
    • isSleeping

      public boolean isSleeping()
      returns whether the mind is sleeping or not
    • sendEntityAdded

      public void sendEntityAdded(String entityName)
      the mind processes added entities in this function
    • sendEntityRemoved

      public void sendEntityRemoved(String entityName)
      the mind processes removed entities in this function
    • sendPropertyChanged

      public void sendPropertyChanged(String entityName, String propertyName, String propertyValue)
      the mind processes changed properties in this function
    • sendPropertyRemoved

      public void sendPropertyRemoved(String entityName, String propertyName)
      the mind processes removed properties in this function