lib: remove "accept port" concept
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 19 Jun 2019 20:22:54 +0000 (16:22 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:32 +0000 (11:53 -0400)
commitaa23edf1331e2ef493dec03eccdfe28ca361be9b
tree5406ebdcf1396b60a826e2d654a294ca818078e1
parenta248254b26128ff8a104bdb4455f5b2d2ea00323
lib: remove "accept port" concept

This patch removes the concept of a component needing to accept a port
connection before a connection is made.  Since the component connections
are supposed to be transparent (a component behavior shouldn't change
based on which component is on the other side), there is no point in
letting a component refuse a connection.  Refusing a port connection
based on the component class, for example, could lead to tightly coupled
components, which we want to avoid.

Change-Id: Ia2d0e09caaee069e9be22b8089ef5ccbae392bb2
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1522
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
23 files changed:
include/babeltrace2/graph/component-class-filter.h
include/babeltrace2/graph/component-class-sink.h
include/babeltrace2/graph/component-class-source.h
include/babeltrace2/graph/graph-const.h
include/babeltrace2/graph/self-component.h
include/babeltrace2/plugin/plugin-dev.h
src/bindings/python/bt2/bt2/__init__.py.in
src/bindings/python/bt2/bt2/component.py
src/bindings/python/bt2/bt2/graph.py
src/bindings/python/bt2/bt2/native_bt_component.i
src/bindings/python/bt2/bt2/native_bt_component_class.i
src/bindings/python/bt2/bt2/native_bt_graph.i
src/cli/babeltrace2.c
src/common/common.h
src/lib/graph/component-class.c
src/lib/graph/component-class.h
src/lib/graph/component.c
src/lib/graph/component.h
src/lib/graph/graph.c
src/lib/graph/graph.h
src/lib/plugin/plugin-so.c
tests/bindings/python/bt2/test_graph.py
tests/lib/test_graph_topo.c
This page took 0.027794 seconds and 4 git commands to generate.