Interface SessionObjectAction


  • public interface SessionObjectAction
    This interface force the implementation of some methods used in a isac plugin session object
    Author:
    JC Meillaud, A Peyrard
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      This method will be call when we stop using this SO, so if we have some active connection, this method will permit to close them
      java.lang.Object createNewSessionObject()
      This method will be used to create anew instance of a session object, thanks to this method we could share some references between sessionobject implementation instances, and initialize some new values for the object which don't need to be shared
      void reset()
      This method will be used to reset datas of a sessionobject implementation
    • Method Detail

      • createNewSessionObject

        java.lang.Object createNewSessionObject()
        This method will be used to create anew instance of a session object, thanks to this method we could share some references between sessionobject implementation instances, and initialize some new values for the object which don't need to be shared
        Returns:
        The 'cloned' object
      • reset

        void reset()
        This method will be used to reset datas of a sessionobject implementation
      • close

        void close()
        This method will be call when we stop using this SO, so if we have some active connection, this method will permit to close them