Documentation ¶
Index ¶
- Variables
- func RegisterMhoServer(s *grpc.Server, srv MhoServer)
- type GetMhoParamRequest
- func (*GetMhoParamRequest) Descriptor() ([]byte, []int)
- func (m *GetMhoParamRequest) GetHoParamType() MhoParamType
- func (m *GetMhoParamRequest) Marshal() (dAtA []byte, err error)
- func (m *GetMhoParamRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetMhoParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetMhoParamRequest) ProtoMessage()
- func (m *GetMhoParamRequest) Reset()
- func (m *GetMhoParamRequest) Size() (n int)
- func (m *GetMhoParamRequest) String() string
- func (m *GetMhoParamRequest) Unmarshal(dAtA []byte) error
- func (m *GetMhoParamRequest) XXX_DiscardUnknown()
- func (m *GetMhoParamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMhoParamRequest) XXX_Merge(src proto.Message)
- func (m *GetMhoParamRequest) XXX_Size() int
- func (m *GetMhoParamRequest) XXX_Unmarshal(b []byte) error
- type GetMhoParamResponse
- func (*GetMhoParamResponse) Descriptor() ([]byte, []int)
- func (m *GetMhoParamResponse) GetA3Offset() int32
- func (m *GetMhoParamResponse) GetHoParamType() MhoParamType
- func (m *GetMhoParamResponse) GetHysteresis() int32
- func (m *GetMhoParamResponse) GetTimeToTrigger() int32
- func (m *GetMhoParamResponse) Marshal() (dAtA []byte, err error)
- func (m *GetMhoParamResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetMhoParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetMhoParamResponse) ProtoMessage()
- func (m *GetMhoParamResponse) Reset()
- func (m *GetMhoParamResponse) Size() (n int)
- func (m *GetMhoParamResponse) String() string
- func (m *GetMhoParamResponse) Unmarshal(dAtA []byte) error
- func (m *GetMhoParamResponse) XXX_DiscardUnknown()
- func (m *GetMhoParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMhoParamResponse) XXX_Merge(src proto.Message)
- func (m *GetMhoParamResponse) XXX_Size() int
- func (m *GetMhoParamResponse) XXX_Unmarshal(b []byte) error
- type MhoClient
- type MhoParamType
- type MhoServer
- type SetMhoParamRequest
- func (*SetMhoParamRequest) Descriptor() ([]byte, []int)
- func (m *SetMhoParamRequest) GetA3Offset() int32
- func (m *SetMhoParamRequest) GetHoParamType() MhoParamType
- func (m *SetMhoParamRequest) GetHysteresis() int32
- func (m *SetMhoParamRequest) GetTimeToTrigger() int32
- func (m *SetMhoParamRequest) Marshal() (dAtA []byte, err error)
- func (m *SetMhoParamRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SetMhoParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetMhoParamRequest) ProtoMessage()
- func (m *SetMhoParamRequest) Reset()
- func (m *SetMhoParamRequest) Size() (n int)
- func (m *SetMhoParamRequest) String() string
- func (m *SetMhoParamRequest) Unmarshal(dAtA []byte) error
- func (m *SetMhoParamRequest) XXX_DiscardUnknown()
- func (m *SetMhoParamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetMhoParamRequest) XXX_Merge(src proto.Message)
- func (m *SetMhoParamRequest) XXX_Size() int
- func (m *SetMhoParamRequest) XXX_Unmarshal(b []byte) error
- type SetMhoParamResponse
- func (*SetMhoParamResponse) Descriptor() ([]byte, []int)
- func (m *SetMhoParamResponse) GetSuccess() bool
- func (m *SetMhoParamResponse) Marshal() (dAtA []byte, err error)
- func (m *SetMhoParamResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SetMhoParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetMhoParamResponse) ProtoMessage()
- func (m *SetMhoParamResponse) Reset()
- func (m *SetMhoParamResponse) Size() (n int)
- func (m *SetMhoParamResponse) String() string
- func (m *SetMhoParamResponse) Unmarshal(dAtA []byte) error
- func (m *SetMhoParamResponse) XXX_DiscardUnknown()
- func (m *SetMhoParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetMhoParamResponse) XXX_Merge(src proto.Message)
- func (m *SetMhoParamResponse) XXX_Size() int
- func (m *SetMhoParamResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMhoServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMho = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMho = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMho = fmt.Errorf("proto: unexpected end of group") )
View Source
var MhoParamType_name = map[int32]string{
0: "ALL",
1: "A3OFFSET",
2: "HYSTERESIS",
3: "TIMETOTRIGGER",
}
View Source
var MhoParamType_value = map[string]int32{
"ALL": 0,
"A3OFFSET": 1,
"HYSTERESIS": 2,
"TIMETOTRIGGER": 3,
}
Functions ¶
func RegisterMhoServer ¶
Types ¶
type GetMhoParamRequest ¶
type GetMhoParamRequest struct { // hoParamType is a type of handover parameter HoParamType MhoParamType `protobuf:"varint,1,opt,name=hoParamType,proto3,enum=onos.mho.MhoParamType" json:"hoParamType,omitempty"` }
func (*GetMhoParamRequest) Descriptor ¶
func (*GetMhoParamRequest) Descriptor() ([]byte, []int)
func (*GetMhoParamRequest) GetHoParamType ¶
func (m *GetMhoParamRequest) GetHoParamType() MhoParamType
func (*GetMhoParamRequest) Marshal ¶
func (m *GetMhoParamRequest) Marshal() (dAtA []byte, err error)
func (*GetMhoParamRequest) MarshalTo ¶
func (m *GetMhoParamRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetMhoParamRequest) MarshalToSizedBuffer ¶
func (m *GetMhoParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetMhoParamRequest) ProtoMessage ¶
func (*GetMhoParamRequest) ProtoMessage()
func (*GetMhoParamRequest) Reset ¶
func (m *GetMhoParamRequest) Reset()
func (*GetMhoParamRequest) Size ¶
func (m *GetMhoParamRequest) Size() (n int)
func (*GetMhoParamRequest) String ¶
func (m *GetMhoParamRequest) String() string
func (*GetMhoParamRequest) Unmarshal ¶
func (m *GetMhoParamRequest) Unmarshal(dAtA []byte) error
func (*GetMhoParamRequest) XXX_DiscardUnknown ¶
func (m *GetMhoParamRequest) XXX_DiscardUnknown()
func (*GetMhoParamRequest) XXX_Marshal ¶
func (m *GetMhoParamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMhoParamRequest) XXX_Merge ¶
func (m *GetMhoParamRequest) XXX_Merge(src proto.Message)
func (*GetMhoParamRequest) XXX_Size ¶
func (m *GetMhoParamRequest) XXX_Size() int
func (*GetMhoParamRequest) XXX_Unmarshal ¶
func (m *GetMhoParamRequest) XXX_Unmarshal(b []byte) error
type GetMhoParamResponse ¶
type GetMhoParamResponse struct { // hoParamType is a type of handover parameter HoParamType MhoParamType `protobuf:"varint,1,opt,name=hoParamType,proto3,enum=onos.mho.MhoParamType" json:"hoParamType,omitempty"` // A3-Offset value A3Offset int32 `protobuf:"varint,2,opt,name=a3Offset,proto3" json:"a3Offset,omitempty"` // Hysteresis value Hysteresis int32 `protobuf:"varint,3,opt,name=hysteresis,proto3" json:"hysteresis,omitempty"` // Time-to-Trigger value TimeToTrigger int32 `protobuf:"varint,4,opt,name=timeToTrigger,proto3" json:"timeToTrigger,omitempty"` }
func (*GetMhoParamResponse) Descriptor ¶
func (*GetMhoParamResponse) Descriptor() ([]byte, []int)
func (*GetMhoParamResponse) GetA3Offset ¶
func (m *GetMhoParamResponse) GetA3Offset() int32
func (*GetMhoParamResponse) GetHoParamType ¶
func (m *GetMhoParamResponse) GetHoParamType() MhoParamType
func (*GetMhoParamResponse) GetHysteresis ¶
func (m *GetMhoParamResponse) GetHysteresis() int32
func (*GetMhoParamResponse) GetTimeToTrigger ¶
func (m *GetMhoParamResponse) GetTimeToTrigger() int32
func (*GetMhoParamResponse) Marshal ¶
func (m *GetMhoParamResponse) Marshal() (dAtA []byte, err error)
func (*GetMhoParamResponse) MarshalTo ¶
func (m *GetMhoParamResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetMhoParamResponse) MarshalToSizedBuffer ¶
func (m *GetMhoParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetMhoParamResponse) ProtoMessage ¶
func (*GetMhoParamResponse) ProtoMessage()
func (*GetMhoParamResponse) Reset ¶
func (m *GetMhoParamResponse) Reset()
func (*GetMhoParamResponse) Size ¶
func (m *GetMhoParamResponse) Size() (n int)
func (*GetMhoParamResponse) String ¶
func (m *GetMhoParamResponse) String() string
func (*GetMhoParamResponse) Unmarshal ¶
func (m *GetMhoParamResponse) Unmarshal(dAtA []byte) error
func (*GetMhoParamResponse) XXX_DiscardUnknown ¶
func (m *GetMhoParamResponse) XXX_DiscardUnknown()
func (*GetMhoParamResponse) XXX_Marshal ¶
func (m *GetMhoParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMhoParamResponse) XXX_Merge ¶
func (m *GetMhoParamResponse) XXX_Merge(src proto.Message)
func (*GetMhoParamResponse) XXX_Size ¶
func (m *GetMhoParamResponse) XXX_Size() int
func (*GetMhoParamResponse) XXX_Unmarshal ¶
func (m *GetMhoParamResponse) XXX_Unmarshal(b []byte) error
type MhoClient ¶
type MhoClient interface { // To get MHO parameters GetMhoParams(ctx context.Context, in *GetMhoParamRequest, opts ...grpc.CallOption) (*GetMhoParamResponse, error) // To set MHO parameters SetMhoParams(ctx context.Context, in *SetMhoParamRequest, opts ...grpc.CallOption) (*SetMhoParamResponse, error) }
MhoClient is the client API for Mho service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMhoClient ¶
func NewMhoClient(cc *grpc.ClientConn) MhoClient
type MhoParamType ¶
type MhoParamType int32
MhoParamType is enumeration type of MHO parameters
const ( MhoParamType_ALL MhoParamType = 0 MhoParamType_A3OFFSET MhoParamType = 1 MhoParamType_HYSTERESIS MhoParamType = 2 MhoParamType_TIMETOTRIGGER MhoParamType = 3 )
func (MhoParamType) EnumDescriptor ¶
func (MhoParamType) EnumDescriptor() ([]byte, []int)
func (MhoParamType) String ¶
func (x MhoParamType) String() string
type MhoServer ¶
type MhoServer interface { // To get MHO parameters GetMhoParams(context.Context, *GetMhoParamRequest) (*GetMhoParamResponse, error) // To set MHO parameters SetMhoParams(context.Context, *SetMhoParamRequest) (*SetMhoParamResponse, error) }
MhoServer is the server API for Mho service.
type SetMhoParamRequest ¶
type SetMhoParamRequest struct { // hoParamType is a type of handover parameter HoParamType MhoParamType `protobuf:"varint,1,opt,name=hoParamType,proto3,enum=onos.mho.MhoParamType" json:"hoParamType,omitempty"` // A3-Offset value A3Offset int32 `protobuf:"varint,2,opt,name=a3Offset,proto3" json:"a3Offset,omitempty"` // Hysteresis value Hysteresis int32 `protobuf:"varint,3,opt,name=hysteresis,proto3" json:"hysteresis,omitempty"` // Time-to-Trigger value TimeToTrigger int32 `protobuf:"varint,4,opt,name=timeToTrigger,proto3" json:"timeToTrigger,omitempty"` }
func (*SetMhoParamRequest) Descriptor ¶
func (*SetMhoParamRequest) Descriptor() ([]byte, []int)
func (*SetMhoParamRequest) GetA3Offset ¶
func (m *SetMhoParamRequest) GetA3Offset() int32
func (*SetMhoParamRequest) GetHoParamType ¶
func (m *SetMhoParamRequest) GetHoParamType() MhoParamType
func (*SetMhoParamRequest) GetHysteresis ¶
func (m *SetMhoParamRequest) GetHysteresis() int32
func (*SetMhoParamRequest) GetTimeToTrigger ¶
func (m *SetMhoParamRequest) GetTimeToTrigger() int32
func (*SetMhoParamRequest) Marshal ¶
func (m *SetMhoParamRequest) Marshal() (dAtA []byte, err error)
func (*SetMhoParamRequest) MarshalTo ¶
func (m *SetMhoParamRequest) MarshalTo(dAtA []byte) (int, error)
func (*SetMhoParamRequest) MarshalToSizedBuffer ¶
func (m *SetMhoParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetMhoParamRequest) ProtoMessage ¶
func (*SetMhoParamRequest) ProtoMessage()
func (*SetMhoParamRequest) Reset ¶
func (m *SetMhoParamRequest) Reset()
func (*SetMhoParamRequest) Size ¶
func (m *SetMhoParamRequest) Size() (n int)
func (*SetMhoParamRequest) String ¶
func (m *SetMhoParamRequest) String() string
func (*SetMhoParamRequest) Unmarshal ¶
func (m *SetMhoParamRequest) Unmarshal(dAtA []byte) error
func (*SetMhoParamRequest) XXX_DiscardUnknown ¶
func (m *SetMhoParamRequest) XXX_DiscardUnknown()
func (*SetMhoParamRequest) XXX_Marshal ¶
func (m *SetMhoParamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetMhoParamRequest) XXX_Merge ¶
func (m *SetMhoParamRequest) XXX_Merge(src proto.Message)
func (*SetMhoParamRequest) XXX_Size ¶
func (m *SetMhoParamRequest) XXX_Size() int
func (*SetMhoParamRequest) XXX_Unmarshal ¶
func (m *SetMhoParamRequest) XXX_Unmarshal(b []byte) error
type SetMhoParamResponse ¶
type SetMhoParamResponse struct { // success is a result whether MHO param is set successfully or not Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` }
func (*SetMhoParamResponse) Descriptor ¶
func (*SetMhoParamResponse) Descriptor() ([]byte, []int)
func (*SetMhoParamResponse) GetSuccess ¶
func (m *SetMhoParamResponse) GetSuccess() bool
func (*SetMhoParamResponse) Marshal ¶
func (m *SetMhoParamResponse) Marshal() (dAtA []byte, err error)
func (*SetMhoParamResponse) MarshalTo ¶
func (m *SetMhoParamResponse) MarshalTo(dAtA []byte) (int, error)
func (*SetMhoParamResponse) MarshalToSizedBuffer ¶
func (m *SetMhoParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetMhoParamResponse) ProtoMessage ¶
func (*SetMhoParamResponse) ProtoMessage()
func (*SetMhoParamResponse) Reset ¶
func (m *SetMhoParamResponse) Reset()
func (*SetMhoParamResponse) Size ¶
func (m *SetMhoParamResponse) Size() (n int)
func (*SetMhoParamResponse) String ¶
func (m *SetMhoParamResponse) String() string
func (*SetMhoParamResponse) Unmarshal ¶
func (m *SetMhoParamResponse) Unmarshal(dAtA []byte) error
func (*SetMhoParamResponse) XXX_DiscardUnknown ¶
func (m *SetMhoParamResponse) XXX_DiscardUnknown()
func (*SetMhoParamResponse) XXX_Marshal ¶
func (m *SetMhoParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetMhoParamResponse) XXX_Merge ¶
func (m *SetMhoParamResponse) XXX_Merge(src proto.Message)
func (*SetMhoParamResponse) XXX_Size ¶
func (m *SetMhoParamResponse) XXX_Size() int
func (*SetMhoParamResponse) XXX_Unmarshal ¶
func (m *SetMhoParamResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMhoServer ¶
type UnimplementedMhoServer struct { }
UnimplementedMhoServer can be embedded to have forward compatible implementations.
func (*UnimplementedMhoServer) GetMhoParams ¶
func (*UnimplementedMhoServer) GetMhoParams(ctx context.Context, req *GetMhoParamRequest) (*GetMhoParamResponse, error)
func (*UnimplementedMhoServer) SetMhoParams ¶
func (*UnimplementedMhoServer) SetMhoParams(ctx context.Context, req *SetMhoParamRequest) (*SetMhoParamResponse, error)
Click to show internal directories.
Click to hide internal directories.