com.multisoftgroup.jerry.jabber.session
Class AbstractIMSession
java.lang.Object
com.multisoftgroup.jerry.jabber.session.AbstractIMSession
- All Implemented Interfaces:
- IMSession
- Direct Known Subclasses:
- IMClientSessionImpl
public abstract class AbstractIMSession
- extends Object
- implements IMSession
defaultEncoding
protected String defaultEncoding
outputStreamWriter
protected OutputStreamWriter outputStreamWriter
socket
protected Socket socket
disposed
protected volatile Boolean disposed
sessionId
protected long sessionId
lastSessionId
protected static Long lastSessionId
AbstractIMSession
public AbstractIMSession()
isClosed
public boolean isClosed()
- Specified by:
isClosed in interface IMSession
setup
public void setup(Socket socket)
throws Exception
- Specified by:
setup in interface IMSession
- Throws:
Exception
getXmlPullParser
public final org.xmlpull.v1.XmlPullParser getXmlPullParser()
- Specified by:
getXmlPullParser in interface IMSession
getId
public final long getId()
- Specified by:
getId in interface IMSession
getEncoding
public final String getEncoding()
- Specified by:
getEncoding in interface IMSession
writeOutputStream
public final void writeOutputStream(String s)
- Specified by:
writeOutputStream in interface IMSession
setStreams
public void setStreams(Streams streams)
getStreams
public Streams getStreams()
- Specified by:
getStreams in interface IMSession
toString
public final String toString()
- Overrides:
toString in class Object
hashCode
public final int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object