aboutsummaryrefslogtreecommitdiffstats
path: root/api
AgeCommit message (Collapse)AuthorFilesLines
2018-06-26Pair requests with replies using sequence numbersMilan Lenco2-90/+145
Requests are given sequence numbers (cycling over a finite set of 2^16 integers) that are stored into the lower 16bits of the context. 1bit is also allocated for isMultipart boolean flag and the remaining 15bits are used to store the channel ID. The sequence numbers allow to reliably pair replies with requests, even in scenarious with timeouted requests or ignored (unread) replies. Sequencing is not used with asynchronous messaging as it is implemented by methods of the Channel structure, i.e. above ReqChan and ReplyChan channels. Change-Id: I7ca0e8489c7ffcc388c3cfef6d05c02f9500931c Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
2018-04-05Lookup message name by ID when receiving unexpected messageOndrej Fabry2-12/+42
Change-Id: I693e8084b7e3f036dec5e557dc772857bb7d5f3d Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2018-04-04Ignore invalid message ID if last request timed outOndrej Fabry2-29/+141
Change-Id: Iedca416a69ff20d0bac05062b87021de95eb40dc Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2018-03-23Support mocking reply for more multi requests at onceOndrej Fabry2-7/+93
Change-Id: I3610fe1e0c04f4487f6b7139fc62ef4515fad640 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2017-12-13Use core directly in tests to avoid need of vppapiclient libraryOndrej Fabry1-5/+4
Change-Id: I1fa534129ee7e04eb5058a215fa7eabfe1ecc2bf Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2017-12-04Fix events for mock adapterOndrej Fabry1-2/+45
Change-Id: Iee5fa6282e845ed2aef76c9246a9068f3765139c Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
2017-09-25generator fix - add new message typeRastislav Szabo1-0/+2
Change-Id: I5e2b312e086d18eb7fa3f349750caea20005f530 Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-06-20Upgrade dependency to VPP 17.07 RC0Milan Lenco4-306/+1
Change-Id: I732d478b71895f4d3889752c683dbb6a84c6e17c Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
2017-05-25added async connect API, new structure of examplesRastislav Szabo1-2/+2
Change-Id: Iab9bce174596c30998981e02b7030c248c423384 Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-22binapi-generator renamed & moved, finished documentationRastislav Szabo2-3/+28
Change-Id: I7d3b53fa238e822b36a6a82c61ffb792da3898bf Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-17multiple small fixesRastislav Szabo1-2/+4
Change-Id: I9e822ce7e9b9f44f7d074b0294d6eda37c2a0f12 Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-04changes import paths from gerrit.fd.io/r/govpp.git to git.fd.io/govpp.gitRastislav Szabo1-8/+8
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-04fixed import pathsRastislav Szabo1-8/+8
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
2017-05-04initial commitRastislav Szabo6-0/+976
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>