Searched refs:InvitationsMonitor (Results 1 - 1 of 1) sorted by relevance

/external/smack/src/org/jivesoftware/smackx/muc/
H A DMultiUserChat.java800 InvitationsMonitor.getInvitationsMonitor(conn).addInvitationListener(listener);
811 InvitationsMonitor.getInvitationsMonitor(conn).removeInvitationListener(listener);
2569 * An InvitationsMonitor monitors a given connection to detect room invitations. Every
2570 * time the InvitationsMonitor detects a new invitation it will fire the invitation listeners.
2574 private static class InvitationsMonitor implements ConnectionListener { class in class:MultiUserChat
2577 // Note that when the InvitationsMonitor is used, i.e. when there are InvitationListeners, it will add a
2580 // the PacketListener will get removed (cancel()) allowing the garbage collection of the InvitationsMonitor
2582 private final static Map<Connection, WeakReference<InvitationsMonitor>> monitors =
2583 new WeakHashMap<Connection, WeakReference<InvitationsMonitor>>();
2593 * Returns a new or existing InvitationsMonitor fo
2619 private InvitationsMonitor(Connection connection) { method in class:MultiUserChat.InvitationsMonitor
[all...]

Completed in 74 milliseconds