|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.androidpn.server.xmpp.net.StanzaHandler
public class StanzaHandler
This class is to handle incoming XML stanzas.
Constructor Summary | |
---|---|
StanzaHandler(java.lang.String serverName,
Connection connection)
Constructor. |
Method Summary | |
---|---|
void |
process(java.lang.String stanza,
org.dom4j.io.XMPPPacketReader reader)
Process the received stanza using the given XMPP packet reader. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StanzaHandler(java.lang.String serverName, Connection connection)
serverName
- the server nameconnection
- the connectionMethod Detail |
---|
public void process(java.lang.String stanza, org.dom4j.io.XMPPPacketReader reader) throws java.lang.Exception
stanza
- the received statzareader
- the XMPP packet reader
java.lang.Exception
- if the XML stream is not valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |