Code Review
/
ric-plt
/
submgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge newe2 into master
[ric-plt/submgr.git]
/
pkg
/
control
/
types.go
diff --git
a/pkg/control/types.go
b/pkg/control/types.go
index
64fd15f
..
08bcda4
100644
(file)
--- a/
pkg/control/types.go
+++ b/
pkg/control/types.go
@@
-20,29
+20,16
@@
package control
import (
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