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 memclnt module.
13 type RPCService interface {
14 APIVersions(ctx context.Context, in *APIVersions) (*APIVersionsReply, error)
15 GetFirstMsgID(ctx context.Context, in *GetFirstMsgID) (*GetFirstMsgIDReply, error)
16 MemclntCreate(ctx context.Context, in *MemclntCreate) (*MemclntCreateReply, error)
17 MemclntDelete(ctx context.Context, in *MemclntDelete) (*MemclntDeleteReply, error)
18 MemclntKeepalive(ctx context.Context, in *MemclntKeepalive) (*MemclntKeepaliveReply, error)
19 MemclntReadTimeout(ctx context.Context, in *MemclntReadTimeout) error
20 MemclntRxThreadSuspend(ctx context.Context, in *MemclntRxThreadSuspend) error
21 RPCCall(ctx context.Context, in *RPCCall) (*RPCCallReply, error)
22 RxThreadExit(ctx context.Context, in *RxThreadExit) error
23 SockInitShm(ctx context.Context, in *SockInitShm) (*SockInitShmReply, error)
24 SockclntCreate(ctx context.Context, in *SockclntCreate) (*SockclntCreateReply, error)
25 SockclntDelete(ctx context.Context, in *SockclntDelete) (*SockclntDeleteReply, error)
26 TracePluginMsgIds(ctx context.Context, in *TracePluginMsgIds) error
29 type serviceClient struct {
33 func NewServiceClient(ch api.Channel) RPCService {
34 return &serviceClient{ch}
37 func (c *serviceClient) APIVersions(ctx context.Context, in *APIVersions) (*APIVersionsReply, error) {
38 out := new(APIVersionsReply)
39 err := c.ch.SendRequest(in).ReceiveReply(out)
46 func (c *serviceClient) GetFirstMsgID(ctx context.Context, in *GetFirstMsgID) (*GetFirstMsgIDReply, error) {
47 out := new(GetFirstMsgIDReply)
48 err := c.ch.SendRequest(in).ReceiveReply(out)
55 func (c *serviceClient) MemclntCreate(ctx context.Context, in *MemclntCreate) (*MemclntCreateReply, error) {
56 out := new(MemclntCreateReply)
57 err := c.ch.SendRequest(in).ReceiveReply(out)
64 func (c *serviceClient) MemclntDelete(ctx context.Context, in *MemclntDelete) (*MemclntDeleteReply, error) {
65 out := new(MemclntDeleteReply)
66 err := c.ch.SendRequest(in).ReceiveReply(out)
73 func (c *serviceClient) MemclntKeepalive(ctx context.Context, in *MemclntKeepalive) (*MemclntKeepaliveReply, error) {
74 out := new(MemclntKeepaliveReply)
75 err := c.ch.SendRequest(in).ReceiveReply(out)
82 func (c *serviceClient) MemclntReadTimeout(ctx context.Context, in *MemclntReadTimeout) error {
87 func (c *serviceClient) MemclntRxThreadSuspend(ctx context.Context, in *MemclntRxThreadSuspend) error {
92 func (c *serviceClient) RPCCall(ctx context.Context, in *RPCCall) (*RPCCallReply, error) {
93 out := new(RPCCallReply)
94 err := c.ch.SendRequest(in).ReceiveReply(out)
101 func (c *serviceClient) RxThreadExit(ctx context.Context, in *RxThreadExit) error {
106 func (c *serviceClient) SockInitShm(ctx context.Context, in *SockInitShm) (*SockInitShmReply, error) {
107 out := new(SockInitShmReply)
108 err := c.ch.SendRequest(in).ReceiveReply(out)
115 func (c *serviceClient) SockclntCreate(ctx context.Context, in *SockclntCreate) (*SockclntCreateReply, error) {
116 out := new(SockclntCreateReply)
117 err := c.ch.SendRequest(in).ReceiveReply(out)
124 func (c *serviceClient) SockclntDelete(ctx context.Context, in *SockclntDelete) (*SockclntDeleteReply, error) {
125 out := new(SockclntDeleteReply)
126 err := c.ch.SendRequest(in).ReceiveReply(out)
133 func (c *serviceClient) TracePluginMsgIds(ctx context.Context, in *TracePluginMsgIds) error {
138 // Reference imports to suppress errors if they are not otherwise used.
139 var _ = api.RegisterMessage
140 var _ = context.Background