Class SmartInspectAdapter
- java.lang.Object
-
- com.gurock.smartinspect.SmartInspectAdapter
-
- All Implemented Interfaces:
SmartInspectListener
public class SmartInspectAdapter extends Object implements SmartInspectListener
Represents the adapter class for the SmartInspectListener event interface of the SmartInspect class.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 Summary
Constructors Constructor Description SmartInspectAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonControlCommand(ControlCommandEvent e)Provides an empty default implementation for the ControlCommand event of the implemented SmartInspectListener event interface.voidonError(ErrorEvent e)Provides an empty default implementation for the error event of the implemented SmartInspectListener event interface.voidonFilter(FilterEvent e)Provides an empty default implementation for the Filter event of the implemented SmartInspectListener event interface.voidonLogEntry(LogEntryEvent e)Provides an empty default implementation for the LogEntry event of the implemented SmartInspectListener event interface.voidonProcessFlow(ProcessFlowEvent e)Provides an empty default implementation for the ProcessFlow event of the implemented SmartInspectListener event interface.voidonWatch(WatchEvent e)Provides an empty default implementation for the Watch event of the implemented SmartInspectListener event interface.
-
-
-
Method Detail
-
onError
public void onError(ErrorEvent e)
Provides an empty default implementation for the error event of the implemented SmartInspectListener event interface.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.
- Specified by:
onErrorin interfaceSmartInspectListener- Parameters:
e- The event argument for the event handler- See Also:
ErrorEvent
-
onControlCommand
public void onControlCommand(ControlCommandEvent e)
Provides an empty default implementation for the ControlCommand event of the implemented SmartInspectListener event interface. This method provides an empty default implementation for the ControlCommand event. When deriving from this class, override this method if you are interested in getting notified about sent ControlCommand packets. For an example, please refer to the documentation of the SmartInspectListener.onControlCommand method.- Specified by:
onControlCommandin interfaceSmartInspectListener- Parameters:
e- The event argument for the event handler- See Also:
ControlCommand,ControlCommandEvent
-
onLogEntry
public void onLogEntry(LogEntryEvent e)
Provides an empty default implementation for the LogEntry event of the implemented SmartInspectListener event interface.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.
- Specified by:
onLogEntryin interfaceSmartInspectListener- Parameters:
e- The event argument for the event handler- See Also:
LogEntry,LogEntryEvent
-
onProcessFlow
public void onProcessFlow(ProcessFlowEvent e)
Provides an empty default implementation for the ProcessFlow event of the implemented SmartInspectListener event interface.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.
- Specified by:
onProcessFlowin interfaceSmartInspectListener- Parameters:
e- The event argument for the event handler- See Also:
ProcessFlow,ProcessFlowEvent
-
onWatch
public void onWatch(WatchEvent e)
Provides an empty default implementation for the Watch event of the implemented SmartInspectListener event interface.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.
- Specified by:
onWatchin interfaceSmartInspectListener- Parameters:
e- The event argument for the event handler- See Also:
Watch,WatchEvent
-
onFilter
public void onFilter(FilterEvent e)
Provides an empty default implementation for the Filter event of the implemented SmartInspectListener event interface. This method provides an empty default implementation for the Filter event. When deriving from this class, override this method if you are interested in filtering out any packets. For a detailed example, please refer to the SmartInspectListener.onFilter method.- Specified by:
onFilterin interfaceSmartInspectListener- Parameters:
e- The event argument for the event handler- See Also:
Packet,FilterEvent
-
-