package control
import (
- "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp"
+ "strconv"
)
type RmrDatagram struct {
SubID uint16
}
-type Action int
-
-type TransactionKey struct {
- SubID uint16
- transType Action
+type RmrEndpoint struct {
+ Addr string // xapp addr
+ Port uint16 // xapp port
}
-type Transaction struct {
- XappInstanceAddress string
- XappPort uint16
- OrigParams *xapp.RMRParams
+func (endpoint RmrEndpoint) String() string {
+ return endpoint.Addr + ":" + strconv.FormatUint(uint64(endpoint.Port), 10)
}
+
+type Action int