Interface MasterListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
SaveDialog, SlavesPanel, SnapshotsDialog

public interface MasterListener extends EventListener
The interface to implement in order to receive master events.
Author:
Zleurtor
  • Method Details

    • slavesCleared

      void slavesCleared()
      The event fired when the slaves list is cleared.
    • newSlave

      void newSlave(MasterEvent evt)
      The event fired when a new slave incame.
      Parameters:
      evt - The event object containing information on the new slave.
    • slaveQuit

      void slaveQuit(MasterEvent evt)
      The event fired when a new slave has gone.
      Parameters:
      evt - The event object containing information on the slave which has gone.
    • snapshotSuccess

      void snapshotSuccess(MasterEvent evt)
      The event fired when a snapshot has been successfully processed.
      Parameters:
      evt - The event object containing information on the slave which processed the snapshot.
    • snapshotError

      void snapshotError(MasterEvent evt)
      The event fired when an error occurred during a snapshot process.
      Parameters:
      evt - The event object containing information on the slave which failed during the snapshot.
    • snapshotsCleared

      void snapshotsCleared()
      The event fired when the snapshots have been cleared.
    • streamError

      void streamError(MasterEvent evt)
      The event fired when an error occurred during a preview process.
      Parameters:
      evt - The event object containing information on the slave which failed during the stream process.
    • log

      void log(MasterEvent evt, org.apache.log4j.lf5.LogLevel level)
      The event fired when a log file content income.
      Parameters:
      evt - The event object containing the slave's log file content.
      level - The slave's log level.
    • logLevelError

      void logLevelError(MasterEvent evt)
      The event fired when a log level change error income.
      Parameters:
      evt - The event object containing the slave's log level change error.
    • logLevelSuccess

      void logLevelSuccess(MasterEvent evt)
      The event fired when a log level change success income.
      Parameters:
      evt - The event object containing the slave's log level success.
    • options

      void options(MasterEvent evt)
      The event fired when an options changed income.
      Parameters:
      evt - The event object containing the slave's options.
    • fileSaved

      void fileSaved(MasterEvent evt)
      The event fired when a file has been saved.
      Parameters:
      evt - The event object containing the saved file.