projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: Mass notification -> message rename
[babeltrace.git]
/
bindings
/
python
/
bt2
/
bt2
/
port.py
diff --git
a/bindings/python/bt2/bt2/port.py
b/bindings/python/bt2/bt2/port.py
index f5bc3ef7eba45b975a54ecea2724d51f99ba31bb..68039a43e0b4dfb03a0fa79e9df01883c6d9993a 100644
(file)
--- a/
bindings/python/bt2/bt2/port.py
+++ b/
bindings/python/bt2/bt2/port.py
@@
-24,8
+24,8
@@
from bt2 import native_bt, object, utils
import collections.abc
import bt2.component
import bt2.connection
import collections.abc
import bt2.component
import bt2.connection
-import bt2.
notification
_iterator
-import bt2.
notification
+import bt2.
message
_iterator
+import bt2.
message
import copy
import bt2
import copy
import bt2
@@
-114,21
+114,21
@@
class _InputPort(_Port):
class _OutputPort(_Port):
class _OutputPort(_Port):
- def create_
notification_iterator(self, notification
_types=None,
+ def create_
message_iterator(self, message
_types=None,
colander_component_name=None):
colander_component_name=None):
-
notif_types = bt2.notification._notif_types_from_notif_classes(notification
_types)
+
msg_types = bt2.message._msg_types_from_msg_classes(message
_types)
if colander_component_name is not None:
utils._check_str(colander_component_name)
if colander_component_name is not None:
utils._check_str(colander_component_name)
-
notif_iter_ptr = native_bt.py3_create_output_port_notif
_iter(int(self._ptr),
+
msg_iter_ptr = native_bt.py3_create_output_port_msg
_iter(int(self._ptr),
colander_component_name,
colander_component_name,
-
notif
_types)
+
msg
_types)
- if
notif
_iter_ptr is None:
- raise bt2.CreationError('cannot create output port
notification
iterator')
+ if
msg
_iter_ptr is None:
+ raise bt2.CreationError('cannot create output port
message
iterator')
- return bt2.
notification_iterator._OutputPortNotificationIterator._create_from_ptr(notif
_iter_ptr)
+ return bt2.
message_iterator._OutputPortMessageIterator._create_from_ptr(msg
_iter_ptr)
class _PrivatePort(object._PrivateObject, _Port):
class _PrivatePort(object._PrivateObject, _Port):
This page took
0.02715 seconds
and
4
git commands to generate.