lib: remove "accept port" concept
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 19 Jun 2019 20:22:54 +0000 (16:22 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 25 Jun 2019 15:35:48 +0000 (11:35 -0400)
commitc594ab036e1797da45594dce8dfc07d90f2bb81f
tree80985cf04a286c2a6f6c153358ef7be86e112d2c
parent3c8252a5b96d617770863d3f54398b58d4c3315a
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.027266 seconds and 4 git commands to generate.