log_channel.py
changeset 86 645cf9c4441e
parent 65 8b50694f841e
child 90 275a675712f1
equal deleted inserted replaced
85:0521cf830eb9 86:645cf9c4441e
    12     def __init__ (self, id, network, name, source) :
    12     def __init__ (self, id, network, name, source) :
    13         """
    13         """
    14             Initialize this channel from the given identifier key, network name, channel name, and LogSource
    14             Initialize this channel from the given identifier key, network name, channel name, and LogSource
    15         """
    15         """
    16         
    16         
       
    17         # store
    17         self.id = id
    18         self.id = id
    18         self.network = network
    19         self.network = network
    19         self.name = name
    20         self.name = name
    20         self.source = source
    21         self.source = source
       
    22 
       
    23         # bind source
       
    24         self.source.bind_channel(self)
    21     
    25     
    22     @property
    26     @property
    23     def title (self) :
    27     def title (self) :
    24         """
    28         """
    25             Title is 'Network - #channel'
    29             Title is 'Network - #channel'