|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.realtime.xmpp.util.SessionEventLogger
Helper class that sends XMPP session events to a stream.
Nested Class Summary |
Nested classes inherited from class com.realtime.xmpp.XmppSessionListener |
XmppSessionListener.Event, XmppSessionListener.Type |
Field Summary | |
protected java.io.Writer |
m_out
The stream to write information to. |
Fields inherited from interface com.realtime.xmpp.XmppSessionListener |
AUTHENTICATION_FAILED, CANT_CONNECT, CLOSING_SOCKET, CONNECTION_ERROR, INCOMING_PACKET, OPENING_SOCKET, PARSER_SELECTED, PROTOCOL_ERROR, RESTARTING_CONNECTION, SENDING_PACKET, SESSION_AUTHENTICATED, SESSION_ENDED, SESSION_STARTED, SOCKET_CLOSED, SOCKET_OPEN, STARTING_SESSION, STOPPING_COMPONENT, WAITING |
Constructor Summary | |
SessionEventLogger(java.io.Writer out)
Create a listener that will write event information to a stream. |
Method Summary | |
void |
xmppSessionEvent(XmppSessionListener.Event event)
Signal an XML session event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.Writer m_out
Constructor Detail |
public SessionEventLogger(java.io.Writer out)
Create a listener that will write event information to a stream.
* @param out The stream to write information to.
Method Detail |
public void xmppSessionEvent(XmppSessionListener.Event event)
Signal an XML session event.
xmppSessionEvent
in interface XmppSessionListener
event
- The XMPP session event, as defined in this class.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |