Interface SCSEvent

  • All Known Subinterfaces:
    INSCSEvent

    public interface SCSEvent
    A Service Composition Selection Event is fired to a service on a Service Composition Selection Activity. The service is expected to examine the parameters of the request encapsulated in this event and determine the composition that should be executed for it.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void compositionNotFound()
      Notify the SIS that a suitable composition could not be found for the request.
      void compositionSelected​(com.opencloud.slee.resources.sis.components.CompositionID id)
      Notify the SIS that a composition has been selected for the request.
      Object getRequest()
      Get the request event received from the network.
    • Method Detail

      • getRequest

        Object getRequest()
        Get the request event received from the network.
        Returns:
        the request.
      • compositionSelected

        void compositionSelected​(com.opencloud.slee.resources.sis.components.CompositionID id)
                          throws NullPointerException,
                                 IllegalStateException
        Notify the SIS that a composition has been selected for the request.
        Parameters:
        id - the composition ID of the selected composition.
        Throws:
        NullPointerException - if id is null.
        IllegalStateException - if the service has already returned a response to the SIS for this event. This exception may also be thrown if the service takes too long to respond to the request and a timeout has occurred in the SIS.
      • compositionNotFound

        void compositionNotFound()
                          throws IllegalStateException
        Notify the SIS that a suitable composition could not be found for the request. Trigger rule evaluation continues.
        Throws:
        IllegalStateException - if the service has already returned a response to the SIS for this event. This exception may also be thrown if the service takes too long to respond to the request and a timeout has occurred in the SIS.