mdtdialout

package
v0.0.0-...-f64c045 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mdt_dialout_proto protoreflect.FileDescriptor
View Source
var GRPCMdtDialout_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mdt_dialout.gRPCMdtDialout",
	HandlerType: (*GRPCMdtDialoutServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "MdtDialout",
			Handler:       _GRPCMdtDialout_MdtDialout_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "mdt_dialout.proto",
}

GRPCMdtDialout_ServiceDesc is the grpc.ServiceDesc for GRPCMdtDialout service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGRPCMdtDialoutServer

func RegisterGRPCMdtDialoutServer(s grpc.ServiceRegistrar, srv GRPCMdtDialoutServer)

Types

type GRPCMdtDialoutClient

type GRPCMdtDialoutClient interface {
	MdtDialout(ctx context.Context, opts ...grpc.CallOption) (GRPCMdtDialout_MdtDialoutClient, error)
}

GRPCMdtDialoutClient is the client API for GRPCMdtDialout service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type GRPCMdtDialoutServer

type GRPCMdtDialoutServer interface {
	MdtDialout(GRPCMdtDialout_MdtDialoutServer) error
	// contains filtered or unexported methods
}

GRPCMdtDialoutServer is the server API for GRPCMdtDialout service. All implementations must embed UnimplementedGRPCMdtDialoutServer for forward compatibility

type GRPCMdtDialout_MdtDialoutClient

type GRPCMdtDialout_MdtDialoutClient interface {
	Send(*MdtDialoutArgs) error
	Recv() (*MdtDialoutArgs, error)
	grpc.ClientStream
}

type GRPCMdtDialout_MdtDialoutServer

type GRPCMdtDialout_MdtDialoutServer interface {
	Send(*MdtDialoutArgs) error
	Recv() (*MdtDialoutArgs, error)
	grpc.ServerStream
}

type MdtDialoutArgs

type MdtDialoutArgs struct {
	ReqId     int64  `protobuf:"varint,1,opt,name=ReqId,proto3" json:"ReqId,omitempty"`
	Data      []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Errors    string `protobuf:"bytes,3,opt,name=errors,proto3" json:"errors,omitempty"`
	TotalSize int32  `protobuf:"varint,4,opt,name=totalSize,proto3" json:"totalSize,omitempty"` // Set for messages that are chunked, it contains the original message size.
	// contains filtered or unexported fields
}

func (*MdtDialoutArgs) Descriptor deprecated

func (*MdtDialoutArgs) Descriptor() ([]byte, []int)

Deprecated: Use MdtDialoutArgs.ProtoReflect.Descriptor instead.

func (*MdtDialoutArgs) GetData

func (x *MdtDialoutArgs) GetData() []byte

func (*MdtDialoutArgs) GetErrors

func (x *MdtDialoutArgs) GetErrors() string

func (*MdtDialoutArgs) GetReqId

func (x *MdtDialoutArgs) GetReqId() int64

func (*MdtDialoutArgs) GetTotalSize

func (x *MdtDialoutArgs) GetTotalSize() int32

func (*MdtDialoutArgs) ProtoMessage

func (*MdtDialoutArgs) ProtoMessage()

func (*MdtDialoutArgs) ProtoReflect

func (x *MdtDialoutArgs) ProtoReflect() protoreflect.Message

func (*MdtDialoutArgs) Reset

func (x *MdtDialoutArgs) Reset()

func (*MdtDialoutArgs) String

func (x *MdtDialoutArgs) String() string

type UnimplementedGRPCMdtDialoutServer

type UnimplementedGRPCMdtDialoutServer struct {
}

UnimplementedGRPCMdtDialoutServer must be embedded to have forward compatible implementations.

func (UnimplementedGRPCMdtDialoutServer) MdtDialout

type UnsafeGRPCMdtDialoutServer

type UnsafeGRPCMdtDialoutServer interface {
	// contains filtered or unexported methods
}

UnsafeGRPCMdtDialoutServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GRPCMdtDialoutServer will result in compilation errors.

Jump to

Keyboard shortcuts

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