Class SyslogEventForwarder


  • public class SyslogEventForwarder
    extends java.lang.Object
    The Class SyslogEventForwarder.

    The implementation of this class is inspired by SyslogNorthbounder

    Author:
    Alejandro Galue
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void forward​(Event event, OnmsNode node)
      Forwards an event.
      void initialize​(java.lang.String destinationName)
      Initialize.
      void reload()
      Reloads the forwarder.
      void shutdown()
      Shutdown.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SyslogEventForwarder

        public SyslogEventForwarder()
    • Method Detail

      • initialize

        public void initialize​(java.lang.String destinationName)
        Initialize.
        Parameters:
        destinationName - the destination name
      • shutdown

        public void shutdown()
        Shutdown.
      • reload

        public void reload()
        Reloads the forwarder.
      • forward

        public void forward​(Event event,
                            OnmsNode node)
        Forwards an event.
        Parameters:
        event - the event to be forwarded
        node - the node associated with the event if apply