RICPLT-2988 Unittest timing issues during retransmission case
[ric-plt/submgr.git] / pkg / control / types.go
index 1a2c92f..febd41a 100644 (file)
@@ -25,23 +25,15 @@ type RmrDatagram struct {
        Payload        []byte
 }
 
-type subRouteInfo struct {
-       Command  Action
-       Address  string
-       Port     uint16
-       SubID    uint16
+type SubRouteInfo struct {
+       Command Action
+       Address string
+       Port    uint16
+       SubID   uint16
 }
 
-type Action int
-
-type Transaction_key struct {
-       SubID      uint16
-       trans_type Action
-}
-
-type Transaction struct {
-//     Xapp_address          string
-       Xapp_instance_address string
-       Xapp_port             uint16
-       Ric_sub_req           []byte
+type RmrEndpoint struct {
+       Addr string // xapp addr
+       Port uint16 // xapp port
 }
+type Action int