X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fsbi%2Ftypes.go;h=b52dcfa8711ae7406d8c05276454fe3767373976;hb=refs%2Fchanges%2F91%2F4591%2F1;hp=d024e9414afb88125895dddd5e768a3dba12be03;hpb=45b86cc64dc6071f160b0f2c9ab8dfb57d1ce039;p=ric-plt%2Frtmgr.git diff --git a/pkg/sbi/types.go b/pkg/sbi/types.go index d024e94..b52dcfa 100644 --- a/pkg/sbi/types.go +++ b/pkg/sbi/types.go @@ -45,13 +45,16 @@ type Engine interface { AddEndpoint(*rtmgr.Endpoint) error DeleteEndpoint(*rtmgr.Endpoint) error UpdateEndpoints(*rtmgr.RicComponents) + 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)*/