Interface Protocol

    • Method Detail

      • startProtocol

        void startProtocol​(JMole jmole)
                    throws Exception
        Callback for starting the protocol
        Throws:
        Exception
      • stopProtocol

        void stopProtocol()
                   throws Exception
        Callback for stopping the protocol
        Throws:
        Exception
      • setName

        void setName​(String name)
        Set protocol name
      • getName

        String getName()
        Get the name of the protocol
      • getJMole

        JMole getJMole()
        Get the JMole instance
      • handleWarning

        void handleWarning​(String name,
                           String attribute,
                           net.welen.jmole.presentation.PresentationInformation presentationInformation,
                           String message)
                    throws Exception
        Handle Warning
        Throws:
        Exception
      • handleCritical

        void handleCritical​(String name,
                            String attribute,
                            net.welen.jmole.presentation.PresentationInformation presentationInformation,
                            String message)
                     throws Exception
        Handle critical problem
        Throws:
        Exception