Interface MasterListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
SaveDialog
,SlavesPanel
,SnapshotsDialog
The interface to implement in order to receive master events.
- Author:
- Zleurtor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fileSaved
(MasterEvent evt) The event fired when a file has been saved.void
log
(MasterEvent evt, org.apache.log4j.lf5.LogLevel level) The event fired when a log file content income.void
logLevelError
(MasterEvent evt) The event fired when a log level change error income.void
The event fired when a log level change success income.void
newSlave
(MasterEvent evt) The event fired when a new slave incame.void
options
(MasterEvent evt) The event fired when an options changed income.void
slaveQuit
(MasterEvent evt) The event fired when a new slave has gone.void
The event fired when the slaves list is cleared.void
snapshotError
(MasterEvent evt) The event fired when an error occurred during a snapshot process.void
The event fired when the snapshots have been cleared.void
The event fired when a snapshot has been successfully processed.void
streamError
(MasterEvent evt) The event fired when an error occurred during a preview process.
-
Method Details
-
slavesCleared
void slavesCleared()The event fired when the slaves list is cleared. -
newSlave
The event fired when a new slave incame.- Parameters:
evt
- The event object containing information on the new slave.
-
slaveQuit
The event fired when a new slave has gone.- Parameters:
evt
- The event object containing information on the slave which has gone.
-
snapshotSuccess
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
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
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
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
The event fired when a log level change error income.- Parameters:
evt
- The event object containing the slave's log level change error.
-
logLevelSuccess
The event fired when a log level change success income.- Parameters:
evt
- The event object containing the slave's log level success.
-
options
The event fired when an options changed income.- Parameters:
evt
- The event object containing the slave's options.
-
fileSaved
The event fired when a file has been saved.- Parameters:
evt
- The event object containing the saved file.
-