File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed
src/main/kotlin/spp/protocol/instrument/event Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import java.time.Instant
3030 */
3131@DataObject
3232data class LiveInstrumentAdded (
33- val instrument : LiveInstrument ,
33+ override val instrument : LiveInstrument ,
3434 override val occurredAt : Instant = Instant .now()
3535) : LiveInstrumentEvent {
3636 override val eventType: LiveInstrumentEventType
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import java.time.Instant
3030 */
3131@DataObject
3232data class LiveInstrumentApplied (
33- val instrument : LiveInstrument ,
33+ override val instrument : LiveInstrument ,
3434 override val occurredAt : Instant
3535) : LiveInstrumentEvent {
3636 override val eventType: LiveInstrumentEventType
Original file line number Diff line number Diff line change 1717package spp.protocol.instrument.event
1818
1919import io.vertx.core.json.JsonObject
20+ import spp.protocol.instrument.LiveInstrument
2021import spp.protocol.instrument.event.LiveInstrumentEventType.*
2122import java.time.Instant
2223
@@ -28,6 +29,7 @@ import java.time.Instant
2829 */
2930interface LiveInstrumentEvent {
3031
32+ val instrument: LiveInstrument
3133 val occurredAt: Instant
3234 val eventType: LiveInstrumentEventType
3335
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import spp.protocol.instrument.LiveInstrument
2525 * @author [Brandon Fergerson](mailto:bfergerson@apache.org)
2626 */
2727interface LiveInstrumentHit : LiveInstrumentEvent {
28- val instrument: LiveInstrument
28+ override val instrument: LiveInstrument
2929 val serviceInstance: String
3030 val service: String
3131}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import java.time.Instant
3131 */
3232@DataObject
3333data class LiveInstrumentRemoved (
34- val instrument : LiveInstrument ,
34+ override val instrument : LiveInstrument ,
3535 override val occurredAt : Instant ,
3636 val cause : LiveStackTrace ? = null
3737) : LiveInstrumentEvent {
You can’t perform that action at this time.
0 commit comments