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-395:E2M new REST API - E2M Set Parameters
[ric-plt/e2mgr.git]
/
E2Manager
/
handlers
/
rmrmsghandlers
/
ran_lost_connection_handler.go
diff --git
a/E2Manager/handlers/rmrmsghandlers/ran_lost_connection_handler.go
b/E2Manager/handlers/rmrmsghandlers/ran_lost_connection_handler.go
index
6c3569f
..
12d4df1
100644
(file)
--- a/
E2Manager/handlers/rmrmsghandlers/ran_lost_connection_handler.go
+++ b/
E2Manager/handlers/rmrmsghandlers/ran_lost_connection_handler.go
@@
-27,14
+27,14
@@
import (
)
type RanLostConnectionHandler struct {
)
type RanLostConnectionHandler struct {
- ran
ReconnectionManager managers.IRanRe
connectionManager
- logger *logger.Logger
+ ran
DisconnectionManager managers.IRanDis
connectionManager
+ logger
*logger.Logger
}
}
-func NewRanLostConnectionHandler(logger *logger.Logger, ran
ReconnectionManager managers.IRanRe
connectionManager) RanLostConnectionHandler {
+func NewRanLostConnectionHandler(logger *logger.Logger, ran
DisconnectionManager managers.IRanDis
connectionManager) RanLostConnectionHandler {
return RanLostConnectionHandler{
return RanLostConnectionHandler{
- logger: logger,
- ran
ReconnectionManager: ranRe
connectionManager,
+ logger:
logger,
+ ran
DisconnectionManager: ranDis
connectionManager,
}
}
func (h RanLostConnectionHandler) Handle(request *models.NotificationRequest) {
}
}
func (h RanLostConnectionHandler) Handle(request *models.NotificationRequest) {
@@
-43,5
+43,5
@@
func (h RanLostConnectionHandler) Handle(request *models.NotificationRequest) {
h.logger.Warnf("#RanLostConnectionHandler.Handle - RAN name: %s - Received lost connection notification", ranName)
h.logger.Warnf("#RanLostConnectionHandler.Handle - RAN name: %s - Received lost connection notification", ranName)
- _ = h.ran
ReconnectionManager.Re
connectRan(ranName)
+ _ = h.ran
DisconnectionManager.Dis
connectRan(ranName)
}
}