Interface ServiceEvent
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
ServiceRequestEvent,ServiceResponseEvent
- All Known Implementing Classes:
AbstractServiceCancellationEvent,AbstractServiceEvent,AbstractServiceRequestEvent,AbstractServiceResponseEvent,HttpServiceDownstreamRequestEvent,HttpServiceDownstreamResponseEvent,ServiceActivityRequestEvent,ServiceActivityResponseEvent,ServiceDownstreamCancellationEvent,ServiceDownstreamRequestEvent,ServiceDownstreamResponseEvent
public interface ServiceEvent extends Event
An event issued to the event bus on a service activity or downstream call
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classServiceEvent.TypeThe type of this ServiceEvent
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetOperation()Get the operation namejava.lang.StringgetService()Get the service nameServiceEvent.TypegetType()Get the type of this ServiceEvent
-
-
-
Method Detail
-
getService
java.lang.String getService()
Get the service name- Returns:
- the service name e.g. 'WeatherService'
-
getOperation
java.lang.String getOperation()
Get the operation name- Returns:
- the operation name e.g. 'getWeather'
-
getType
ServiceEvent.Type getType()
Get the type of this ServiceEvent- Returns:
- either ACTIVITY or DOWNSTREAM
-
-