Class SendParser

java.lang.Object
cs350s22.component.ui.parser.SendParser
All Implemented Interfaces:
SubParser

public class SendParser extends Object implements SubParser
Message commands are responsible for sending messages from the master controller at the top-level network to its components or components in subnetworks.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String[]
     
    private final cs350s22.component.ui.parser.A_ParserHelper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SendParser(String[] args, cs350s22.component.ui.parser.A_ParserHelper parserHelper)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method each sub parser is required to use to begin parsing their respective commands.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • args

      private final String[] args
    • parserHelper

      private final cs350s22.component.ui.parser.A_ParserHelper parserHelper
  • Constructor Details

    • SendParser

      public SendParser(String[] args, cs350s22.component.ui.parser.A_ParserHelper parserHelper)
      Constructor.
  • Method Details

    • parse

      public void parse()
      Description copied from interface: SubParser
      Method each sub parser is required to use to begin parsing their respective commands.
      Specified by:
      parse in interface SubParser