X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fsbi%2Ftypes.go;h=094a8adc2c19655b727f3b8e59b09cc04550ac96;hb=87c46ef443a44730cfdcab1ba00b25f60825e037;hp=c0ab373626572588faca1929bfd9ca3e0dd82c55;hpb=df23f25ac56eb0076e6e8801bb6080468ccf44b6;p=ric-plt%2Frtmgr.git diff --git a/pkg/sbi/types.go b/pkg/sbi/types.go index c0ab373..094a8ad 100644 --- a/pkg/sbi/types.go +++ b/pkg/sbi/types.go @@ -45,15 +45,16 @@ type Engine interface { AddEndpoint(*rtmgr.Endpoint) error DeleteEndpoint(*rtmgr.Endpoint) error UpdateEndpoints(*rtmgr.RicComponents) - CreateEndpoint(string) (*rtmgr.Endpoint) - DistributeToEp(*[]string, *rtmgr.Endpoint) error + CheckEndpoint(string) *rtmgr.Endpoint + CreateEndpoint(string) (*string, int) + DistributeToEp(*[]string, string, int) error } -type NngSocket interface { +/*type NngSocket interface { Listen(string) error Send([]byte) error Close() error DialOptions(string, map[string]interface{}) error } -type CreateNewNngSocketHandler func() (NngSocket, error) +type CreateNewNngSocketHandler func() (NngSocket, error)*/