예제 #1
0
    def __init__(self, conn, manager, props, object_path=None):
        _, surpress_handler, handle = manager._get_type_requested_handle(props)
        self.handle = handle
        self.__message_received_id = 0

        ChannelTypeText.__init__(self, conn, manager, props, object_path)
        ChannelInterfaceMessages.__init__(self)
예제 #2
0
    def __init__(self, conn, manager, props, object_path=None):
        _, surpress_handler, handle = manager._get_type_requested_handle(props)
        self.handle = handle
        self.__message_received_id = 0

        ChannelTypeText.__init__(self, conn, manager, props, object_path)
        ChannelInterfaceMessages.__init__(self)
예제 #3
0
    def __init__(self, conn, manager, props, object_path=None):
        _, surpress_handler, handle = manager._get_type_requested_handle(props)
        self.handle = handle
        self.__message_received_id = 0

        ChannelTypeText.__init__(self, conn, manager, props, object_path)
        ChannelInterfaceMessages.__init__(self)
        self._skype_conversation = self._conn._skype.GetConversationByIdentity(handle.get_name())
예제 #4
0
    def __init__(self, connection, manager, props, object_path=None):
        logger.debug('__init__')
        ChannelTypeText.__init__(self, connection, manager, props, object_path)
        EriChannel.__init__(self,connection,props)
        ChannelInterfaceChatState.__init__(self)
        ChannelInterfaceMessages.__init__(self)

        # telepathy.CONNECTION_INTERFACE_CONTACTS,
        #     {'ContactAttributeInterfaces' :
        #     lambda:  dbus.Array([telepathy.CONNECTION], signature='s')}

        logger.debug('init2')

        self._send_typing_notification_timeout = 0

        logger.debug('init3')
        self.states = {}
        self._implement_property_get(telepathy.CHANNEL_INTERFACE_CHAT_STATE,{
            'ChatStates' : loggit(logger,'ChatStates')(lambda: dbus.Dictionary(self.states, signature='uu'))
        })
        logger.debug('init4')