Package xal.service.pvlogger
Interface LoggerChangeListener
- All Known Implementing Classes:
LoggerChangeAdapter,SessionModel.LoggerEventHandler
public interface LoggerChangeListener
LoggerChangeListener is a listener interface for LoggerChange events.
- Author:
- tap
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionvoidsnapshotPublished(LoggerSession logger, MachineSnapshot snapshot) Notification that a machine snapshot has been published.voidsnapshotTaken(LoggerSession logger, MachineSnapshot snapshot) Notification that a machine snapshot has been taken.voidstateChanged(LoggerSession logger, int type) Notification that the logger state has changed.
-
Field Details
-
LOGGING_CHANGED
static final int LOGGING_CHANGED- See Also:
-
LOGGING_PERIOD_CHANGED
static final int LOGGING_PERIOD_CHANGED- See Also:
-
GROUP_CHANGED
static final int GROUP_CHANGED- See Also:
-
ENABLE_CHANGED
static final int ENABLE_CHANGED- See Also:
-
-
Method Details
-
stateChanged
Notification that the logger state has changed.- Parameters:
logger- The logger whose state has changed.type- The type of change
-
snapshotTaken
Notification that a machine snapshot has been taken.- Parameters:
logger- The logger which took the snapshot.snapshot- The machine snapshot taken.
-
snapshotPublished
Notification that a machine snapshot has been published.- Parameters:
logger- The logger which published the snapshot.snapshot- The machine snapshot published.
-