aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bin_api/tap/tap.ba.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2019-02-08 08:38:56 +0100
committerOndrej Fabry <ofabry@cisco.com>2019-02-08 10:04:56 +0100
commitdf05a70f90a1486a86a4156b1b0d68c94f2098b4 (patch)
tree45577756efc2ec766430ed17daa9ddcf9c5709b2 /examples/bin_api/tap/tap.ba.go
parentfa21c9d726ebb807895a8571af9a16dab5cd8d6e (diff)
Add support for using multiple generated versions
- added CheckCompatibility for checking if given messages are compatible - generating Messages global for easier usage of compatibility check - added ReconnectInterval and MaxReconnectAttempts for reconnecting - added Failed state that is sent after exceeding max reconnect attempts Change-Id: I1062ba453f22657c1a2a31aa64cb103ef1223b0f Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/bin_api/tap/tap.ba.go')
-rw-r--r--examples/bin_api/tap/tap.ba.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/bin_api/tap/tap.ba.go b/examples/bin_api/tap/tap.ba.go
index aafd206..04ae411 100644
--- a/examples/bin_api/tap/tap.ba.go
+++ b/examples/bin_api/tap/tap.ba.go
@@ -176,3 +176,14 @@ func init() {
api.RegisterMessage((*TapModify)(nil), "tap.TapModify")
api.RegisterMessage((*TapModifyReply)(nil), "tap.TapModifyReply")
}
+
+var Messages = []api.Message{
+ (*SwInterfaceTapDetails)(nil),
+ (*SwInterfaceTapDump)(nil),
+ (*TapConnect)(nil),
+ (*TapConnectReply)(nil),
+ (*TapDelete)(nil),
+ (*TapDeleteReply)(nil),
+ (*TapModify)(nil),
+ (*TapModifyReply)(nil),
+}