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
RICPLT-2961 Drop retransmitted messages with same transaction id
[ric-plt/submgr.git]
/
pkg
/
control
/
types.go
diff --git
a/pkg/control/types.go
b/pkg/control/types.go
index
5f46e65
..
83312d8
100644
(file)
--- a/
pkg/control/types.go
+++ b/
pkg/control/types.go
@@
-19,14
+19,17
@@
package control
package control
-type Rmr
Payload
struct {
- MessageType int
- SubscriptionId
int
- Content string
+type Rmr
Datagram
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