com.multisoftgroup.jerry.jabber.session
Class ComponentSession

java.lang.Object
  extended by com.multisoftgroup.jerry.jabber.session.ComponentSession
All Implemented Interfaces:
IMSession

public class ComponentSession
extends Object
implements IMSession


Field Summary
protected  String defaultEncoding
           
 
Fields inherited from interface com.multisoftgroup.jerry.jabber.session.IMSession
C2S_CONNECTION, S2S_L2R_CONNECTION, S2S_R2L_CONNECTION, UNKNOWN_CONNECTION
 
Constructor Summary
ComponentSession()
           
 
Method Summary
 void close()
           
 int getConnectionType()
           
 String getEncoding()
           
 long getId()
           
 Streams getStreams()
           
 org.xmlpull.v1.XmlPullParser getXmlPullParser()
           
 boolean isClosed()
           
 void setup(Socket socket)
           
 void writeOutputStream(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultEncoding

protected String defaultEncoding
Constructor Detail

ComponentSession

public ComponentSession()
Method Detail

setup

public void setup(Socket socket)
           throws Exception
Specified by:
setup in interface IMSession
Throws:
Exception

isClosed

public boolean isClosed()
Specified by:
isClosed in interface IMSession

close

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

getId

public long getId()
Specified by:
getId in interface IMSession

getXmlPullParser

public org.xmlpull.v1.XmlPullParser getXmlPullParser()
Specified by:
getXmlPullParser in interface IMSession

getConnectionType

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

writeOutputStream

public void writeOutputStream(String s)
                       throws IOException
Specified by:
writeOutputStream in interface IMSession
Throws:
IOException

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface IMSession

getStreams

public Streams getStreams()
Specified by:
getStreams in interface IMSession