Interface SleService

    • Method Detail

      • init

        void init​(SleProvider provider)
        Called at the beginning. to initialize the service.
        Parameters:
        provider -
      • processData

        void processData​(com.beanit.jasn1.ber.BerTag berTag,
                         InputStream is)
                  throws IOException
        Called each time a message is received from the peer (SLE user) which cannot be processed by the SleProvider.

        The messages are not necessary valid. The service can always call the SleProvider.peerAbort() operation on the provider if it thinks the SLE user went awry.

        Throws:
        IOException
      • sendStatusReport

        void sendStatusReport()
      • abort

        void abort()
        Called by the SleProvider when the connection has been abruptly terminated. The Service has to do necessary cleanup operation.
      • unbind

        void unbind()
        Called by the SleProvider when the user sent an UNBIND request. The provider will verify that the service is in the State.READY when calling this method.