Code Review
/
govpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix events for mock adapter
[govpp.git]
/
adapter
/
adapter.go
diff --git
a/adapter/adapter.go
b/adapter/adapter.go
index
2843d2c
..
a5b3352
100644
(file)
--- a/
adapter/adapter.go
+++ b/
adapter/adapter.go
@@
-30,4
+30,7
@@
type VppAdapter interface {
// SetMsgCallback sets a callback function that will be called by the adapter whenever a message comes from VPP.
SetMsgCallback(func(context uint32, msgId uint16, data []byte))
+
+ // WaitReady waits until adapter is ready.
+ WaitReady() error
}