Code Review
/
ric-plt
/
rtmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Routing manager needs to support for xApps that terminate other protocols than E2
[ric-plt/rtmgr.git]
/
pkg
/
sbi
/
types.go
diff --git
a/pkg/sbi/types.go
b/pkg/sbi/types.go
index
d024e94
..
232a1dc
100644
(file)
--- a/
pkg/sbi/types.go
+++ b/
pkg/sbi/types.go
@@
-45,13
+45,15
@@
type Engine interface {
AddEndpoint(*rtmgr.Endpoint) error
DeleteEndpoint(*rtmgr.Endpoint) error
UpdateEndpoints(*rtmgr.RicComponents)
AddEndpoint(*rtmgr.Endpoint) error
DeleteEndpoint(*rtmgr.Endpoint) error
UpdateEndpoints(*rtmgr.RicComponents)
+ CreateEndpoint(string) (*rtmgr.Endpoint)
+ DistributeToEp(*[]string, *rtmgr.Endpoint) error
}
}
-type NngSocket interface {
+
/*
type NngSocket interface {
Listen(string) error
Send([]byte) error
Close() error
DialOptions(string, map[string]interface{}) error
}
Listen(string) error
Send([]byte) error
Close() error
DialOptions(string, map[string]interface{}) error
}
-type CreateNewNngSocketHandler func() (NngSocket, error)
+type CreateNewNngSocketHandler func() (NngSocket, error)
*/