class documentation

class Registration:

Constructor: Registration(client_id, topic)

View In Hierarchy

Keeps track of how many times a client has requested to advertise a publisher.

A client could advertise and unadvertise a topic multiple times, and we must make sure that the underlying publisher is only created and destroyed at the appropriate moments

Method __init__ Undocumented
Method is_empty Undocumented
Method register_advertisement Undocumented
Method unregister Undocumented
Method unregister_advertisement Undocumented
Instance Variable client_id Undocumented
Instance Variable clients Undocumented
Instance Variable topic Undocumented
def __init__(self, client_id, topic):

Undocumented

def is_empty(self):

Undocumented

def register_advertisement(self, msg_type, adv_id=None, latch=False, queue_size=100):

Undocumented

def unregister(self):

Undocumented

def unregister_advertisement(self, adv_id=None):

Undocumented

client_id =

Undocumented

clients: dict =

Undocumented

topic =

Undocumented