Example #1
0
 /* @see org.xmpp.component.Component#shutdown() */
 public void shutdown() {
   RosterEventDispatcher.removeListener(this);
   for (InteropSession s : mSessions.values()) {
     try {
       s.shutdown();
     } catch (Exception e) {
       Log.error("Caught exception during shutdown of " + this.toString() + ".  Ignoring", e);
     }
   }
   mSessions.clear();
 }
Example #2
0
 /* @see org.xmpp.component.Component#start() */
 public void start() {
   RosterEventDispatcher.addListener(this);
 }