1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
9 api "git.fd.io/govpp.git/api"
12 // RPCService represents RPC service API for vpe module.
13 type RPCService interface {
14 DumpLog(ctx context.Context, in *LogDump) (RPCService_DumpLogClient, error)
15 AddNodeNext(ctx context.Context, in *AddNodeNext) (*AddNodeNextReply, error)
16 Cli(ctx context.Context, in *Cli) (*CliReply, error)
17 CliInband(ctx context.Context, in *CliInband) (*CliInbandReply, error)
18 ControlPing(ctx context.Context, in *ControlPing) (*ControlPingReply, error)
19 GetF64EndianValue(ctx context.Context, in *GetF64EndianValue) (*GetF64EndianValueReply, error)
20 GetF64IncrementByOne(ctx context.Context, in *GetF64IncrementByOne) (*GetF64IncrementByOneReply, error)
21 GetNextIndex(ctx context.Context, in *GetNextIndex) (*GetNextIndexReply, error)
22 GetNodeGraph(ctx context.Context, in *GetNodeGraph) (*GetNodeGraphReply, error)
23 GetNodeIndex(ctx context.Context, in *GetNodeIndex) (*GetNodeIndexReply, error)
24 ShowThreads(ctx context.Context, in *ShowThreads) (*ShowThreadsReply, error)
25 ShowVersion(ctx context.Context, in *ShowVersion) (*ShowVersionReply, error)
26 ShowVpeSystemTime(ctx context.Context, in *ShowVpeSystemTime) (*ShowVpeSystemTimeReply, error)
29 type serviceClient struct {
33 func NewServiceClient(ch api.Channel) RPCService {
34 return &serviceClient{ch}
37 func (c *serviceClient) DumpLog(ctx context.Context, in *LogDump) (RPCService_DumpLogClient, error) {
38 stream := c.ch.SendMultiRequest(in)
39 x := &serviceClient_DumpLogClient{stream}
43 type RPCService_DumpLogClient interface {
44 Recv() (*LogDetails, error)
47 type serviceClient_DumpLogClient struct {
51 func (c *serviceClient_DumpLogClient) Recv() (*LogDetails, error) {
53 stop, err := c.MultiRequestCtx.ReceiveReply(m)
63 func (c *serviceClient) AddNodeNext(ctx context.Context, in *AddNodeNext) (*AddNodeNextReply, error) {
64 out := new(AddNodeNextReply)
65 err := c.ch.SendRequest(in).ReceiveReply(out)
72 func (c *serviceClient) Cli(ctx context.Context, in *Cli) (*CliReply, error) {
74 err := c.ch.SendRequest(in).ReceiveReply(out)
81 func (c *serviceClient) CliInband(ctx context.Context, in *CliInband) (*CliInbandReply, error) {
82 out := new(CliInbandReply)
83 err := c.ch.SendRequest(in).ReceiveReply(out)
90 func (c *serviceClient) ControlPing(ctx context.Context, in *ControlPing) (*ControlPingReply, error) {
91 out := new(ControlPingReply)
92 err := c.ch.SendRequest(in).ReceiveReply(out)
99 func (c *serviceClient) GetF64EndianValue(ctx context.Context, in *GetF64EndianValue) (*GetF64EndianValueReply, error) {
100 out := new(GetF64EndianValueReply)
101 err := c.ch.SendRequest(in).ReceiveReply(out)
108 func (c *serviceClient) GetF64IncrementByOne(ctx context.Context, in *GetF64IncrementByOne) (*GetF64IncrementByOneReply, error) {
109 out := new(GetF64IncrementByOneReply)
110 err := c.ch.SendRequest(in).ReceiveReply(out)
117 func (c *serviceClient) GetNextIndex(ctx context.Context, in *GetNextIndex) (*GetNextIndexReply, error) {
118 out := new(GetNextIndexReply)
119 err := c.ch.SendRequest(in).ReceiveReply(out)
126 func (c *serviceClient) GetNodeGraph(ctx context.Context, in *GetNodeGraph) (*GetNodeGraphReply, error) {
127 out := new(GetNodeGraphReply)
128 err := c.ch.SendRequest(in).ReceiveReply(out)
135 func (c *serviceClient) GetNodeIndex(ctx context.Context, in *GetNodeIndex) (*GetNodeIndexReply, error) {
136 out := new(GetNodeIndexReply)
137 err := c.ch.SendRequest(in).ReceiveReply(out)
144 func (c *serviceClient) ShowThreads(ctx context.Context, in *ShowThreads) (*ShowThreadsReply, error) {
145 out := new(ShowThreadsReply)
146 err := c.ch.SendRequest(in).ReceiveReply(out)
153 func (c *serviceClient) ShowVersion(ctx context.Context, in *ShowVersion) (*ShowVersionReply, error) {
154 out := new(ShowVersionReply)
155 err := c.ch.SendRequest(in).ReceiveReply(out)
162 func (c *serviceClient) ShowVpeSystemTime(ctx context.Context, in *ShowVpeSystemTime) (*ShowVpeSystemTimeReply, error) {
163 out := new(ShowVpeSystemTimeReply)
164 err := c.ch.SendRequest(in).ReceiveReply(out)
171 // Reference imports to suppress errors if they are not otherwise used.
172 var _ = api.RegisterMessage
173 var _ = context.Background