Simplify subscribing to events and fix events 50/14450/6
authorOndrej Fabry <ofabry@cisco.com>
Thu, 23 Aug 2018 20:51:56 +0000 (22:51 +0200)
committerOndrej Fabry <ofabry@cisco.com>
Fri, 24 Aug 2018 10:43:05 +0000 (12:43 +0200)
commit6b350c65fe0ec845cecf58bfb41ffc63dc9c04f7
tree6255495854f43ec2f2d11f88990369aadb48db3f
parent892683bef86cacc2ccda2b4df2b079171bd92164
Simplify subscribing to events and fix events

- there is no need for sending subscription requests through channels,
  since all the messages are registered and no communication with VPP
  is needed

Change-Id: Ibc29957be02a32e26309f66c369a071559b822a9
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
24 files changed:
Makefile
adapter/adapter.go
adapter/mock/mock_adapter.go
adapter/vppapiclient/vppapiclient_adapter.go
api/api.go
cmd/binapi-generator/generate.go
codec/msg_codec.go
core/channel.go
core/channel_test.go
core/connection.go
core/connection_test.go
core/notification_handler.go [deleted file]
core/request_handler.go
examples/bin_api/acl/acl.ba.go
examples/bin_api/af_packet/af_packet.ba.go
examples/bin_api/interfaces/interfaces.ba.go
examples/bin_api/ip/ip.ba.go
examples/bin_api/memif/memif.ba.go
examples/bin_api/stats/stats.ba.go
examples/bin_api/tap/tap.ba.go
examples/bin_api/vpe/vpe.ba.go
examples/cmd/perf-bench/perf-bench.go
examples/cmd/simple-client/simple_client.go
examples/cmd/stats-client/stats_client.go