X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=pkg%2Fsbi%2Ftypes.go;h=b52dcfa8711ae7406d8c05276454fe3767373976;hb=refs%2Fchanges%2F91%2F4591%2F1;hp=c0ab373626572588faca1929bfd9ca3e0dd82c55;hpb=dd6b05676beaff9d6252c3486cf8fb77748d37f8;p=ric-plt%2Frtmgr.git diff --git a/pkg/sbi/types.go b/pkg/sbi/types.go index c0ab373..b52dcfa 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 + CreateEndpoint(string)(*string,int) + CheckEndpoint(string)*rtmgr.Endpoint + 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)*/