|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.network.listen.AbstractProtocolConnection
com.caucho.xmpp.XmppRequest
public class XmppRequest
XMPP protocol
| Method Summary | |
|---|---|
TcpSocketLink |
getConnection()
Returns the tcp connection |
boolean |
handleRequest()
Handles a new connection. |
boolean |
handleResume()
Resumes processing after a wait. |
void |
init()
Initialize the connection. |
boolean |
isWaitForRead()
Return true if the connection should wait for a read before handling the request. |
void |
onCloseConnection()
Handles a close event when the connection is closed. |
void |
startConnection()
Called when the connection starts. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.network.listen.AbstractProtocolConnection |
|---|
getProtocolRequestURL, onStartConnection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public TcpSocketLink getConnection()
public void init()
init in interface ProtocolConnectioninit in class AbstractProtocolConnectionpublic boolean isWaitForRead()
public void startConnection()
public boolean handleRequest()
throws java.io.IOException
handleRequest in interface ProtocolConnectionhandleRequest in class AbstractProtocolConnectionjava.io.IOException
public boolean handleResume()
throws java.io.IOException
handleResume in interface ProtocolConnectionhandleResume in class AbstractProtocolConnectionjava.io.IOExceptionpublic void onCloseConnection()
onCloseConnection in interface ProtocolConnectiononCloseConnection in class AbstractProtocolConnectionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||