package control
import (
- "strconv"
+ "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap"
)
-type RmrDatagram struct {
- MessageType int
- SubscriptionId uint16
- Payload []byte
+//-----------------------------------------------------------------------------
+//
+//-----------------------------------------------------------------------------
+type RequestId struct {
+ e2ap.RequestId
}
-type SubRouteInfo struct {
- Command Action
- Address string
- Port uint16
- SubID uint16
+func (rid *RequestId) String() string {
+ return "reqid(" + rid.RequestId.String() + ")"
}
-
-type RmrEndpoint struct {
- Addr string // xapp addr
- Port uint16 // xapp port
-}
-
-func (endpoint RmrEndpoint) String() string {
- return endpoint.Addr + ":" + strconv.FormatUint(uint64(endpoint.Port), 10)
-}
-
-type Action int