Show
Ignore:
Timestamp:
05/13/08 03:59:10 (6 months ago)
Author:
bct
Message:

merged in session-centric branch, with fixes for OTR compatibility

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/zeroconf/connection_handlers_zeroconf.py

    r9616 r9625  
    659659                jid  = frm 
    660660 
    661                 session = self.get_session(frm, thread_id, mtype) 
     661                session = self.get_or_create_session(frm, thread_id, mtype) 
    662662 
    663663                if thread_id and not session.received_thread_id: 
     
    795795                raise common.xmpp.NodeProcessed 
    796796 
    797         def get_session(self, jid, thread_id, type): 
     797        def terminate_sessions(self): 
     798                '''send termination messages and delete all active sessions''' 
     799                # XXX 
     800                pass 
     801 
     802        def get_or_create_session(self, jid, thread_id, type): 
    798803                '''returns an existing session between this connection and 'jid', returns a new one if none exist.''' 
    799804                session = self.find_session(jid, thread_id, type)