Class LogEntryEvent

  • All Implemented Interfaces:
    Serializable

    public final class LogEntryEvent
    extends EventObject
    This class is used by the SmartInspectListener.onLogEntry event of the SmartInspect class.

    It has only one public class member named getLogEntry. This member is a method, which just returns the sent packet.

    This class is fully threadsafe.

    See Also:
    Serialized Form
    • Constructor Detail

      • LogEntryEvent

        public LogEntryEvent​(Object source,
                             LogEntry logEntry)
        Creates and initializes a LogEntryEvent instance.
        Parameters:
        source - The object which fired the event
        logEntry - The LogEntry packet which has just been sent
    • Method Detail

      • getLogEntry

        public LogEntry getLogEntry()
        Returns the LogEntry packet, which has just been sent.
        Returns:
        The LogEntry packet which has just been sent