|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.xmpp.XmppRequest
public class XmppRequest
XMPP protocol
| Method Summary | |
|---|---|
TcpConnection |
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 |
protocolCloseEvent()
Handles a close event when the connection is closed. |
void |
startConnection()
Called when the connection starts. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public TcpConnection getConnection()
getConnection in interface TcpServerRequestpublic void init()
init in interface ServerRequestpublic boolean isWaitForRead()
isWaitForRead in interface ServerRequestpublic void startConnection()
startConnection in interface ServerRequest
public boolean handleRequest()
throws java.io.IOException
handleRequest in interface ServerRequestjava.io.IOException
public boolean handleResume()
throws java.io.IOException
handleResume in interface ServerRequestjava.io.IOExceptionpublic void protocolCloseEvent()
protocolCloseEvent in interface ServerRequestpublic 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 | |||||||||