File tree Expand file tree Collapse file tree 4 files changed +8
-37
lines changed
commonMain/kotlin/spp.protocol/status Expand file tree Collapse file tree 4 files changed +8
-37
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import spp.protocol.instrument.event.LiveInstrumentRemoved
4242import spp.protocol.probe.command.CommandType
4343import spp.protocol.probe.command.LiveInstrumentCommand
4444import spp.protocol.probe.command.LiveInstrumentContext
45- import spp.protocol.status.ActiveProbe
45+ import spp.protocol.status.ActiveInstance
4646import spp.protocol.view.LiveViewSubscription
4747import java.util.*
4848
@@ -217,13 +217,13 @@ object ProtocolMarshaller {
217217 }
218218
219219 @JvmStatic
220- fun serializeActiveProbe (value : ActiveProbe ): JsonObject {
220+ fun serializeActiveInstance (value : ActiveInstance ): JsonObject {
221221 return JsonObject (Json .encode(value))
222222 }
223223
224224 @JvmStatic
225- fun deserializeActiveProbe (value : JsonObject ): ActiveProbe {
226- return value.mapTo(ActiveProbe ::class .java)
225+ fun deserializeActiveInstance (value : JsonObject ): ActiveInstance {
226+ return value.mapTo(ActiveInstance ::class .java)
227227 }
228228
229229 @JvmStatic
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import io.vertx.codegen.annotations.VertxGen
2222import io.vertx.core.Future
2323import spp.protocol.developer.SelfInfo
2424import spp.protocol.general.Service
25- import spp.protocol.status.ActiveProbe
25+ import spp.protocol.status.ActiveInstance
2626
2727/* *
2828 * todo: description.
@@ -35,5 +35,5 @@ interface LiveService {
3535
3636 fun getSelf (): Future <SelfInfo >
3737 fun getServices (): Future <List <Service >>
38- fun getActiveProbes (): Future <List <ActiveProbe >>
38+ fun getActiveProbes (): Future <List <ActiveInstance >>
3939}
Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ spp.protocol.developer.SelfInfo.serializer=spp.protocol.ProtocolMarshaller#seria
2424spp.protocol.developer.SelfInfo.deserializer =spp.protocol.ProtocolMarshaller# deserializeSelfInfo
2525spp.protocol.general.Service.serializer =spp.protocol.ProtocolMarshaller# serializeService
2626spp.protocol.general.Service.deserializer =spp.protocol.ProtocolMarshaller# deserializeService
27- spp.protocol.status.ActiveProbe .serializer =spp.protocol.ProtocolMarshaller# serializeActiveProbe
28- spp.protocol.status.ActiveProbe .deserializer =spp.protocol.ProtocolMarshaller# deserializeActiveProbe
27+ spp.protocol.status.ActiveInstance .serializer =spp.protocol.ProtocolMarshaller# serializeActiveInstance
28+ spp.protocol.status.ActiveInstance .deserializer =spp.protocol.ProtocolMarshaller# deserializeActiveInstance
You can’t perform that action at this time.
0 commit comments