File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
control/src/main/kotlin/spp/probe/control
services/src/main/kotlin/spp/probe/services/instrument Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ import spp.protocol.ProtocolMarshaller
30
30
import spp.protocol.instrument.*
31
31
import spp.protocol.instrument.command.CommandType
32
32
import spp.protocol.instrument.command.LiveInstrumentCommand
33
- import spp.protocol.platform.PlatformAddress
34
33
import spp.protocol.platform.ProbeAddress
34
+ import spp.protocol.platform.ProcessorAddress
35
35
import java.lang.instrument.Instrumentation
36
36
import java.lang.reflect.InvocationTargetException
37
37
import java.lang.reflect.Method
@@ -128,7 +128,7 @@ class LiveInstrumentRemote : AbstractVerticle() {
128
128
map[" cause" ] = ThrowableTransformer .INSTANCE .convert2String(ex, 4000 )
129
129
130
130
FrameHelper .sendFrame(
131
- BridgeEventType .PUBLISH .name.lowercase(), PlatformAddress .LIVE_INSTRUMENT_REMOVED ,
131
+ BridgeEventType .PUBLISH .name.lowercase(), ProcessorAddress .LIVE_INSTRUMENT_REMOVED ,
132
132
JsonObject .mapFrom(map), SourceProbe .tcpSocket
133
133
)
134
134
}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import spp.probe.services.common.model.ActiveLiveInstrument
30
30
import spp.probe.services.common.transform.LiveTransformer
31
31
import spp.probe.services.error.LiveInstrumentException
32
32
import spp.protocol.instrument.LiveInstrument
33
- import spp.protocol.platform.PlatformAddress
33
+ import spp.protocol.platform.ProcessorAddress
34
34
import java.lang.instrument.Instrumentation
35
35
import java.lang.instrument.UnmodifiableClassException
36
36
import java.util.*
@@ -117,7 +117,7 @@ object LiveInstrumentService {
117
117
instrument.isLive = true
118
118
if (! instrument.isRemoval) {
119
119
instrumentEventConsumer!! .accept(
120
- PlatformAddress .LIVE_INSTRUMENT_APPLIED ,
120
+ ProcessorAddress .LIVE_INSTRUMENT_APPLIED ,
121
121
ModelSerializer .INSTANCE .toJson(instrument.instrument)
122
122
)
123
123
}
@@ -227,7 +227,7 @@ object LiveInstrumentService {
227
227
}
228
228
229
229
instrumentEventConsumer!! .accept(
230
- PlatformAddress .LIVE_INSTRUMENT_REMOVED ,
230
+ ProcessorAddress .LIVE_INSTRUMENT_REMOVED ,
231
231
ModelSerializer .INSTANCE .toJson(map)
232
232
)
233
233
}
You can’t perform that action at this time.
0 commit comments