Class 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 Detail

      • SmartInspectAdapter

        public SmartInspectAdapter()
    • 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:
        onError in interface SmartInspectListener
        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:
        onControlCommand in interface SmartInspectListener
        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:
        onLogEntry in interface SmartInspectListener
        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:
        onProcessFlow in interface SmartInspectListener
        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:
        onWatch in interface SmartInspectListener
        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:
        onFilter in interface SmartInspectListener
        Parameters:
        e - The event argument for the event handler
        See Also:
        Packet, FilterEvent