Class NetworkSendProcess

java.lang.Object
PamguardMVC.PamProcess
networkTransfer.send.NetworkSendProcess
All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class NetworkSendProcess extends PamProcess
  • Constructor Details

    • NetworkSendProcess

      public NetworkSendProcess(NetworkSender networkSender, PamDataBlock parentDataBlock, int sendingFormat)
  • Method Details

    • prepareProcess

      public void prepareProcess()
      Description copied from class: PamProcess
      Called for each process before any of them receive the PamStart command
      Overrides:
      prepareProcess in class PamProcess
    • pamStart

      public void pamStart()
      Description copied from class: PamProcess
      Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).
      Specified by:
      pamStart in class PamProcess
    • pamStop

      public void pamStop()
      Description copied from class: PamProcess
      Stops the process.
      Specified by:
      pamStop in class PamProcess
    • getProcessName

      public String getProcessName()
      Overrides:
      getProcessName in class PamProcess
      Returns:
      Name of the PamProcess
    • newData

      public void newData(PamObservable dataBlock, PamDataUnit dataUnit)
      Overrides:
      newData in class PamProcess
    • setCommandProcess

      public void setCommandProcess(boolean commandProcess)
      Parameters:
      commandProcess - the commandProcess to set
    • isCommandProcess

      public boolean isCommandProcess()
      Returns:
      the commandProcess
    • getOutputFormat

      public int getOutputFormat()
    • setOutputFormat

      public void setOutputFormat(int outputFormat)