File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed
src/jvmMain/kotlin/spp/protocol/extend Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ val vertxVersion: String by project
2424val kotlinVersion: String by project
2525val projectVersion: String by project
2626val jacksonVersion: String by project
27- val slf4jVersion: String by project
2827val kotlinxDatetime: String by project
2928val kotlinxSerializationJson: String by project
3029
@@ -86,7 +85,6 @@ kotlin {
8685 }
8786 val jvmMain by getting {
8887 dependencies {
89- implementation(" org.slf4j:slf4j-api:$slf4jVersion " )
9088 implementation(" io.vertx:vertx-core:$vertxVersion " )
9189 implementation(" io.vertx:vertx-codegen:$vertxVersion " )
9290 implementation(" io.vertx:vertx-tcp-eventbus-bridge:$vertxVersion " )
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ projectVersion=0.6.5-SNAPSHOT
55kotlinVersion =1.6.10
66vertxVersion =4.3.3
77jacksonVersion =2.13.1
8- slf4jVersion =1.7.33
98kotlinxDatetime =0.4.0
109kotlinxSerializationJson =1.3.3
1110joorVersion =0.9.13
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import io.vertx.core.json.JsonObject
2626import io.vertx.core.net.NetSocket
2727import io.vertx.ext.bridge.BridgeEventType
2828import io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper
29- import org.slf4j.LoggerFactory
3029import spp.protocol.platform.auth.RolePermission
3130import spp.protocol.service.error.InstrumentAccessDenied
3231import spp.protocol.service.error.LiveInstrumentException
@@ -35,17 +34,11 @@ import spp.protocol.service.error.PermissionAccessDenied
3534
3635class TCPServiceFrameParser (val vertx : Vertx , val socket : NetSocket ) : Handler<AsyncResult<JsonObject>> {
3736
38- companion object {
39- private val log = LoggerFactory .getLogger(TCPServiceFrameParser ::class .java)
40- }
41-
4237 override fun handle (event : AsyncResult <JsonObject >) {
4338 if (event.failed()) {
44- log.error(" Failed to receive frame" , event.cause())
4539 return
4640 }
4741 val frame = event.result()
48- log.trace(" Received frame: {}" , frame)
4942
5043 if (frame.getString(" replyAddress" ) != null ) {
5144 val deliveryOptions = DeliveryOptions ()
You can’t perform that action at this time.
0 commit comments