RICPLT-2988 Unittest timing issues during retransmission case
[ric-plt/submgr.git] / pkg / control / types.go
index 5f46e65..febd41a 100644 (file)
 
 package control
 
-type RmrPayload struct {
-       MessageType int
-       SubscriptionId int
-       Content string 
+type RmrDatagram struct {
+       MessageType    int
+       SubscriptionId uint16
+       Payload        []byte
 }
 
-type RmrDatagram struct {
-  MessageType int
-       SubscriptionId int
-       Payload []byte 
+type SubRouteInfo struct {
+       Command Action
+       Address string
+       Port    uint16
+       SubID   uint16
+}
+
+type RmrEndpoint struct {
+       Addr string // xapp addr
+       Port uint16 // xapp port
 }
+type Action int