Class WebService

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

        com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected WebService()
      Default constructor that initializes a non-functioning event source stub.
    • Constructor Detail

      • WebService

        protected WebService()
        Default constructor that initializes a non-functioning event source stub.
    • Method Detail

      • sendNotification

        public void sendNotification​(String action,
                                     Object payload)
        Description copied from interface: EventSourceAccess
        Sends a notification to all subscribers.
        Specified by:
        sendNotification in interface EventSourceAccess
        Parameters:
        action - the action the notification complies with.
        payload - the message payload that is tried to be marshalled and delivered.
      • subscriptionEndToAll

        public void subscriptionEndToAll​(WsEventingStatus status)
        Description copied from interface: EventSourceAccess
        Sends a subscription end message to all subscribers and shut down connected subscriptions.
        Specified by:
        subscriptionEndToAll in interface EventSourceAccess
        Parameters:
        status - reason for ending the subscriptions.
      • startUp

        protected void startUp()
        Specified by:
        startUp in class com.google.common.util.concurrent.AbstractIdleService
      • shutDown

        protected void shutDown()
        Specified by:
        shutDown in class com.google.common.util.concurrent.AbstractIdleService