Fotis Paraskevopoulos 19bdfeea69 Initial commit
Change-Id: I03c605dfaa884b6c7aab3e52259855eb2110fac5
2023-12-14 23:22:00 +02:00

19 lines
421 B
Python

from proton import Link as pLink
class Link:
fqdn=False
def __init__(self, key, address, topic=False, fqdn=False):
self.key = key
self.address = address
self._link = None
self.topic= topic
self.fqdn= fqdn
def set(self, link:pLink):
# The proton container creates a sender
# so we just use composition instead of extension
self._link = link