Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[RIC-198]- No reassociations during e2t shutdown + fix tests
[ric-plt/e2mgr.git]
/
E2Manager
/
models
/
rmr_message.go
diff --git
a/E2Manager/models/rmr_message.go
b/E2Manager/models/rmr_message.go
index
5fd39f8
..
1971b1e
100644
(file)
--- a/
E2Manager/models/rmr_message.go
+++ b/
E2Manager/models/rmr_message.go
@@
-20,24
+20,18
@@
package models
package models
-import (
- "e2mgr/logger"
-)
-
type RmrMessage struct {
MsgType int
RanName string
Payload []byte
type RmrMessage struct {
MsgType int
RanName string
Payload []byte
+ XAction []byte
}
}
-func NewRmrMessage(msgType int, ranName string, payload []byte) *RmrMessage {
+func NewRmrMessage(msgType int, ranName string, payload []byte
, xAction []byte
) *RmrMessage {
return &RmrMessage{
MsgType: msgType,
RanName: ranName,
Payload: payload,
return &RmrMessage{
MsgType: msgType,
RanName: ranName,
Payload: payload,
+ XAction: xAction,
}
}
}
}
-
-func (response RmrMessage) GetMessageAsBytes(logger *logger.Logger) []byte {
- return response.Payload
-}