com.multisoftgroup.jerry.jabber.session
Class IMClientSessionImpl

java.lang.Object
  extended by com.multisoftgroup.jerry.jabber.session.AbstractIMSession
      extended by com.multisoftgroup.jerry.jabber.session.IMClientSessionImpl
All Implemented Interfaces:
IMClientSession, IMSession

public class IMClientSessionImpl
extends AbstractIMSession
implements IMClientSession


Field Summary
 
Fields inherited from class com.multisoftgroup.jerry.jabber.session.AbstractIMSession
defaultEncoding, disposed, lastSessionId, outputStreamWriter, sessionId, socket
 
Fields inherited from interface com.multisoftgroup.jerry.jabber.session.IMSession
C2S_CONNECTION, S2S_L2R_CONNECTION, S2S_R2L_CONNECTION, UNKNOWN_CONNECTION
 
Constructor Summary
IMClientSessionImpl()
           
 
Method Summary
 void close()
           
 int getConnectionType()
           
 com.multisoftgroup.jerry.jabber.data.jabber.IMPresence getPresence()
           
 com.multisoftgroup.jerry.jabber.data.jabber.User getUser()
           
 void setPresence(com.multisoftgroup.jerry.jabber.data.jabber.IMPresence presence)
           
 void setUser(com.multisoftgroup.jerry.jabber.data.jabber.User user)
           
 
Methods inherited from class com.multisoftgroup.jerry.jabber.session.AbstractIMSession
equals, getEncoding, getId, getStreams, getXmlPullParser, hashCode, isClosed, setStreams, setup, toString, writeOutputStream
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.multisoftgroup.jerry.jabber.session.IMSession
getEncoding, getId, getStreams, getXmlPullParser, isClosed, setup, writeOutputStream
 

Constructor Detail

IMClientSessionImpl

public IMClientSessionImpl()
                    throws Exception
Throws:
Exception
Method Detail

close

public void close()
Specified by:
close in interface IMSession

setUser

public final void setUser(com.multisoftgroup.jerry.jabber.data.jabber.User user)
Specified by:
setUser in interface IMClientSession

getUser

public final com.multisoftgroup.jerry.jabber.data.jabber.User getUser()
Specified by:
getUser in interface IMClientSession

getPresence

public com.multisoftgroup.jerry.jabber.data.jabber.IMPresence getPresence()
Specified by:
getPresence in interface IMClientSession

setPresence

public void setPresence(com.multisoftgroup.jerry.jabber.data.jabber.IMPresence presence)
Specified by:
setPresence in interface IMClientSession

getConnectionType

public int getConnectionType()
Specified by:
getConnectionType in interface IMSession