Class AbstractServiceEvent

    • Constructor Detail

      • AbstractServiceEvent

        public AbstractServiceEvent​(java.lang.String origin,
                                    java.lang.String service,
                                    java.lang.String operation)
        Constructor for a ServiceEvent
        Parameters:
        origin - the origin of this event e.g. 'Web' or 'gRPC'
        service - the service name e.g. WeatherService
        operation - the operation name e.g getWeather
    • Method Detail

      • getService

        public java.lang.String getService()
        Get the service name
        Specified by:
        getService in interface ServiceEvent
        Returns:
        the service name e.g. 'WeatherService'
      • getOperation

        public java.lang.String getOperation()
        Get the operation name
        Specified by:
        getOperation in interface ServiceEvent
        Returns:
        the operation name e.g. 'getWeather'