olt_inter_adapter_service

package
v5.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterOltInterAdapterServiceServer

func RegisterOltInterAdapterServiceServer(s *grpc.Server, srv OltInterAdapterServiceServer)

Types

type OltInterAdapterServiceClient

type OltInterAdapterServiceClient interface {
	// GetHealthStatus is used by a OltInterAdapterService client to detect a connection
	// lost with the gRPC server hosting the OltInterAdapterService service
	GetHealthStatus(ctx context.Context, opts ...grpc.CallOption) (OltInterAdapterService_GetHealthStatusClient, error)
	ProxyOmciRequest(ctx context.Context, in *inter_adapter.OmciMessage, opts ...grpc.CallOption) (*empty.Empty, error)
	ProxyOmciRequests(ctx context.Context, in *inter_adapter.OmciMessages, opts ...grpc.CallOption) (*empty.Empty, error)
	GetTechProfileInstance(ctx context.Context, in *inter_adapter.TechProfileInstanceRequestMessage, opts ...grpc.CallOption) (*inter_adapter.TechProfileDownloadMessage, error)
}

OltInterAdapterServiceClient is the client API for OltInterAdapterService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewOltInterAdapterServiceClient

func NewOltInterAdapterServiceClient(cc *grpc.ClientConn) OltInterAdapterServiceClient

type OltInterAdapterServiceServer

type OltInterAdapterServiceServer interface {
	// GetHealthStatus is used by a OltInterAdapterService client to detect a connection
	// lost with the gRPC server hosting the OltInterAdapterService service
	GetHealthStatus(OltInterAdapterService_GetHealthStatusServer) error
	ProxyOmciRequest(context.Context, *inter_adapter.OmciMessage) (*empty.Empty, error)
	ProxyOmciRequests(context.Context, *inter_adapter.OmciMessages) (*empty.Empty, error)
	GetTechProfileInstance(context.Context, *inter_adapter.TechProfileInstanceRequestMessage) (*inter_adapter.TechProfileDownloadMessage, error)
}

OltInterAdapterServiceServer is the server API for OltInterAdapterService service.

type OltInterAdapterService_GetHealthStatusClient

type OltInterAdapterService_GetHealthStatusClient interface {
	Send(*common.Connection) error
	Recv() (*health.HealthStatus, error)
	grpc.ClientStream
}

type OltInterAdapterService_GetHealthStatusServer

type OltInterAdapterService_GetHealthStatusServer interface {
	Send(*health.HealthStatus) error
	Recv() (*common.Connection, error)
	grpc.ServerStream
}

type UnimplementedOltInterAdapterServiceServer

type UnimplementedOltInterAdapterServiceServer struct {
}

UnimplementedOltInterAdapterServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOltInterAdapterServiceServer) GetHealthStatus

func (*UnimplementedOltInterAdapterServiceServer) ProxyOmciRequest

func (*UnimplementedOltInterAdapterServiceServer) ProxyOmciRequests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL