Java 类org.jivesoftware.smack.filter.StanzaExtensionFilter 实例源码

项目:Smack    文件:GroupChatInvitationTest.java   
protected void setUp() throws Exception {
    super.setUp();
    // Register listener for groupchat invitations.
    PacketFilter filter = new StanzaExtensionFilter("x", "jabber:x:conference");
    collector = getConnection(1).createPacketCollector(filter);
}