|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmc.connection.CommunicationManager
public class CommunicationManager
Connector Manager class Modified by Gabriele Bianchi 04/01/2006
Constructor Summary | |
---|---|
CommunicationManager(MidletEventListener _midlet)
|
Method Summary | |
---|---|
void |
blank()
Sends out a keep alive space character. |
void |
connect(int state)
Makes connection Modified by Gabriele Bianchi 04/01/2006 |
void |
disconnect()
Disconnect |
void |
httpConnect()
|
void |
nodeEnd(Node _node)
Called whenever the parser finishes a node. |
void |
nodeStart(Node _node)
Called when the parser starts a new node |
void |
notifyConnect(javax.microedition.io.StreamConnection _inConn,
java.io.InputStream _is,
java.io.OutputStream _os)
Notifies connection to midlet Modified by Gabriele Bianchi 05/01/2006 |
void |
notifyNoConnectionOn(java.lang.String reason)
|
void |
prologEnd(Node _node)
Called when the xml prolog has been read. |
void |
reportException(java.lang.Exception _e)
Exceptions handling Modified by Gabriele Bianchi 05/01/2006 |
void |
reportException(java.lang.Thread _t,
java.lang.Exception _e)
Exceptions handling |
void |
reportRegistrationError(java.lang.Exception _e,
boolean disconnect)
|
void |
terminateStream()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommunicationManager(MidletEventListener _midlet)
Method Detail |
---|
public void connect(int state)
public void httpConnect()
public void notifyConnect(javax.microedition.io.StreamConnection _inConn, java.io.InputStream _is, java.io.OutputStream _os)
public void terminateStream()
public void disconnect()
public void prologEnd(Node _node)
ParserListener
prologEnd
in interface ParserListener
_node
- Contains all infos about the prolog.public void nodeStart(Node _node)
ParserListener
nodeStart
in interface ParserListener
Node
- public void nodeEnd(Node _node)
ParserListener
nodeEnd
in interface ParserListener
Node
- public void blank()
blank
in interface ParserListener
public void reportException(java.lang.Thread _t, java.lang.Exception _e)
reportException
in interface ExceptionListener
Exception
- public void reportException(java.lang.Exception _e)
reportException
in interface ExceptionListener
Exception
- public void reportRegistrationError(java.lang.Exception _e, boolean disconnect)
reportRegistrationError
in interface ExceptionListener
Exception
- public void notifyNoConnectionOn(java.lang.String reason)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |