Class AvaMediaAdapter

java.lang.Object
edu.tufts.hrilab.gui.GuiAdapter
edu.tufts.hrilab.ava.gui.AvaMediaAdapter

public class AvaMediaAdapter extends GuiAdapter
  • Constructor Details

  • Method Details

    • providesTradeServices

      protected boolean providesTradeServices()
      Description copied from class: GuiAdapter
      Force implementing classes to declare whether they provide TRADE services. This is to decide whether or not to register any new instances of that class with TRADE.
      Specified by:
      providesTradeServices in class GuiAdapter
      Returns:
      true iff the adapter provides TRADE services.
    • handleMessage

      protected void handleMessage(com.google.gson.JsonObject message)
      Description copied from class: GuiAdapter
      Handle a message from the client.
      Overrides:
      handleMessage in class GuiAdapter
      Parameters:
      message - a JsonObject representing the message.
    • getPathRoot

      protected String getPathRoot()
      Description copied from class: GuiAdapter
      Enforce implementation of path root getter for getPath(). This is usually based on the component's/adapter's name; e.g., the belief GUI's path root is belief.
      Specified by:
      getPathRoot in class GuiAdapter
      Returns:
      the path root as a String.