Access all Publisher/Subscriptions of a node

Also, please try to ask questions like this on answers.ros.org with the ros2 and/or ardent tags in the future.