Class NetModule

    • Constructor Detail

      • NetModule

        public NetModule()
    • Method Detail

      • init

        public void init​(Session session,
                         java.util.Map<java.lang.String,​java.lang.String> options)
                  throws OpenAS2Exception
        Description copied from interface: Component
        Component lifecycle hook. After creating a Component object, this method should be called to set any parameters used by the component. Component implementations typically have required parameter checking and code to start timers and threads within this method.
        Specified by:
        init in interface Component
        Overrides:
        init in class BaseComponent
        Parameters:
        session - the component uses this object to access other components
        options - configuration values for the component
        Throws:
        OpenAS2Exception - If an error occurs while initializing the component
        See Also:
        Session
      • healthcheck

        public boolean healthcheck​(java.util.List<java.lang.String> failures)
        Description copied from interface: ActiveModule
        When invoked, the module must run a self check to verify it is functioning correctly. Any failures must be reported in the failures list passed in to the method by the callee
        Specified by:
        healthcheck in interface ActiveModule
        Specified by:
        healthcheck in class BaseActiveModule
        Parameters:
        failures - - a list of failures if any occur
        Returns:
        - true if module has no problems otherwise false ith failure messages in passed in List