@WebSocket public class XmppWebSocket extends Object
SessionPacketRouter
, and packets destined for the remote peer are forwarded
via the corresponding RemoteEndpoint
.Constructor and Description |
---|
XmppWebSocket() |
Modifier and Type | Method and Description |
---|---|
void |
onClose(int statusCode,
String reason) |
void |
onConnect(org.eclipse.jetty.websocket.api.Session session) |
void |
onError(Throwable error) |
void |
onTextMethod(String stanza) |
void |
setXmppSession(LocalClientSession session) |
@OnWebSocketConnect public void onConnect(org.eclipse.jetty.websocket.api.Session session)
@OnWebSocketClose public void onClose(int statusCode, String reason)
@OnWebSocketMessage public void onTextMethod(String stanza)
@OnWebSocketError public void onError(Throwable error)
public void setXmppSession(LocalClientSession session)
Copyright © 2003-2008 Jive Software.