613 """ |
613 """ |
614 Public method to get the list of channels. |
614 Public method to get the list of channels. |
615 |
615 |
616 @return list of channel names (list of string) |
616 @return list of channel names (list of string) |
617 """ |
617 """ |
618 return sorted(self.__channels.keys()) |
618 return sorted(self.__channels) |
619 |
619 |
620 def getChannel(self, channelName): |
620 def getChannel(self, channelName): |
621 """ |
621 """ |
622 Public method to get a channel. |
622 Public method to get a channel. |
623 |
623 |
897 """ |
897 """ |
898 Public method to get the names of all identities. |
898 Public method to get the names of all identities. |
899 |
899 |
900 @return names of all identities (list of string) |
900 @return names of all identities (list of string) |
901 """ |
901 """ |
902 return list(self.__identities.keys()) |
902 return list(self.__identities) |
903 |
903 |
904 def addIdentity(self, identity): |
904 def addIdentity(self, identity): |
905 """ |
905 """ |
906 Public method to add a new identity. |
906 Public method to add a new identity. |
907 |
907 |