public class SmartInspectAdapter extends Object implements SmartInspectListener
This class is added for convenience when dealing with the SmartInspect event system. This class implements the SmartInspectListener interface by defining empty methods stubs. By deriving from this class instead of implementing the SmartInspectListener interface directly, you can subscribe to certain events by overriding the appropriate methods and ignore other events which are of no use to you by keeping the empty default implementation of this class.
| Constructor and Description |
|---|
SmartInspectAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onControlCommand(ControlCommandEvent e)
Provides an empty default implementation for the ControlCommand
event of the implemented SmartInspectListener event interface.
|
void |
onError(ErrorEvent e)
Provides an empty default implementation for the error event of
the implemented SmartInspectListener event interface.
|
void |
onFilter(FilterEvent e)
Provides an empty default implementation for the Filter event of
the implemented SmartInspectListener event interface.
|
void |
onLogEntry(LogEntryEvent e)
Provides an empty default implementation for the LogEntry event
of the implemented SmartInspectListener event interface.
|
void |
onProcessFlow(ProcessFlowEvent e)
Provides an empty default implementation for the ProcessFlow event
of the implemented SmartInspectListener event interface.
|
void |
onWatch(WatchEvent e)
Provides an empty default implementation for the Watch event of
the implemented SmartInspectListener event interface.
|
public void onError(ErrorEvent e)
This method provides an empty default implementation for the error event. When deriving from this class, override this method if you are interested in getting notified about errors. For an example, please refer to the SmartInspectListener.onError method.
onError in interface SmartInspectListenere - The event argument for the event handlerErrorEventpublic void onControlCommand(ControlCommandEvent e)
onControlCommand in interface SmartInspectListenere - The event argument for the event handlerControlCommand,
ControlCommandEventpublic void onLogEntry(LogEntryEvent e)
This method provides an empty default implementation for the LogEntry event. When deriving from this class, override this method if you are interested in getting notified about sent LogEntry packets. For an example, please refer to the documentation of the SmartInspectListener.onLogEntry method.
onLogEntry in interface SmartInspectListenere - The event argument for the event handlerLogEntry,
LogEntryEventpublic void onProcessFlow(ProcessFlowEvent e)
This method provides an empty default implementation for the ProcessFlow event. When deriving from this class, override this method if you are interested in getting notified about sent ProcessFlow packets. For a detailed example, please refer to the documentation of the SmartInspectListener.onLogEntry method.
onProcessFlow in interface SmartInspectListenere - The event argument for the event handlerProcessFlow,
ProcessFlowEventpublic void onWatch(WatchEvent e)
This method provides an empty default implementation for the Watch event. When deriving from this class, override this method if you are interested in getting notified about sent Watch packets. For a detailed example, please refer to the documentation of the SmartInspectListener.onWatch method.
onWatch in interface SmartInspectListenere - The event argument for the event handlerWatch,
WatchEventpublic void onFilter(FilterEvent e)
onFilter in interface SmartInspectListenere - The event argument for the event handlerPacket,
FilterEventCopyright © 2023. All rights reserved.