|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmc.StanzaReader
public class StanzaReader
Class for reading incoming stanzas
Field Summary | |
---|---|
protected int |
CONNECTION_COMPLETED
|
int |
internalstate
|
protected int |
REGISTRATION
|
protected java.lang.String |
stanzaFrom
|
protected java.lang.String |
stanzaId
|
protected java.lang.String |
stanzaTo
|
protected java.lang.String |
stanzaType
|
protected int |
WAIT_LOGIN_PARAMS
|
protected int |
WAIT_LOGIN_RESULT
|
protected int |
WAIT_ROSTER
|
protected int |
WAIT_SESSION
|
Constructor Summary | |
---|---|
StanzaReader(ExceptionListener _exceptionListener,
JabberListener _jabberListener,
int state)
|
Method Summary | |
---|---|
void |
read(Node _node)
Read the Node objet in argument |
protected void |
readIq(Node _node)
Reads an iq stanza and answers to the server Modified by Gabriele Bianchi 04/01/2006 |
protected void |
readMessage(Node _node)
Reads a message stanza and notify to midlet Modified by Gabriele Bianchi 17/01/2006 |
protected void |
readPresence(Node _node)
Reads a presence node and notify to midlet Modified by Gabriele Bianchi 04/01/2006 |
protected void |
readRoster(Node _node)
Reads a roster stanza, saves info in Datas and notify to midlet |
void |
setRosterState()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String stanzaId
protected java.lang.String stanzaType
protected java.lang.String stanzaFrom
protected java.lang.String stanzaTo
public int internalstate
protected final int WAIT_LOGIN_PARAMS
protected final int WAIT_LOGIN_RESULT
protected final int WAIT_SESSION
protected final int WAIT_ROSTER
protected final int CONNECTION_COMPLETED
protected final int REGISTRATION
Constructor Detail |
---|
public StanzaReader(ExceptionListener _exceptionListener, JabberListener _jabberListener, int state)
Method Detail |
---|
public void read(Node _node)
Node
- protected void readIq(Node _node)
_node
- protected void readPresence(Node _node)
_node
- protected void readRoster(Node _node)
_node
- protected void readMessage(Node _node)
_node
- public void setRosterState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |