com.realtime.xmpp.dom
Class DomXmppTool.RosterUpdater

java.lang.Object
  |
  +--com.realtime.xmpp.dom.DomXmppTool.RosterUpdater
All Implemented Interfaces:
DomPacketListener
Enclosing class:
DomXmppTool

protected class DomXmppTool.RosterUpdater
extends java.lang.Object
implements DomPacketListener

Callback object to update rosters.


Field Summary
protected  JID m_contact
           
protected  JID m_principal
           
protected  java.lang.String m_sFilter
           
protected  org.dom4j.Element m_updateTemplate
           
 
Constructor Summary
protected DomXmppTool.RosterUpdater(JID principal, org.dom4j.Element updateTemplate, JID contact)
           
 
Method Summary
 void incomingPacket(org.dom4j.Element response)
          Signal a new packet has arrived.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_sFilter

protected java.lang.String m_sFilter

m_updateTemplate

protected org.dom4j.Element m_updateTemplate

m_contact

protected JID m_contact

m_principal

protected JID m_principal
Constructor Detail

DomXmppTool.RosterUpdater

protected DomXmppTool.RosterUpdater(JID principal,
                                    org.dom4j.Element updateTemplate,
                                    JID contact)
Method Detail

incomingPacket

public void incomingPacket(org.dom4j.Element response)
Description copied from interface: DomPacketListener

Signal a new packet has arrived. DO NOT MODIFY the packet. The same packet will be handed to the other listeners.

Specified by:
incomingPacket in interface DomPacketListener
Parameters:
response - The XMPP packet as a DOM element.


Copyright © 2002,2003 Real Time Entertainment Group, LLC. All Rights Reserved.