RICPLT-2965 Unittest to support multiple xappconns
[ric-plt/submgr.git] / pkg / control / types.go
index 5f46e65..83312d8 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 Action int