com.multisoftgroup.jerry.jabber.session
Interface IMSession

All Known Subinterfaces:
IMClientSession, IMServerSession
All Known Implementing Classes:
AbstractIMSession, ComponentSession, IMClientSessionImpl

public interface IMSession


Field Summary
static int C2S_CONNECTION
           
static int S2S_L2R_CONNECTION
           
static int S2S_R2L_CONNECTION
           
static int UNKNOWN_CONNECTION
           
 
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)
           
 

Field Detail

UNKNOWN_CONNECTION

static final int UNKNOWN_CONNECTION
See Also:
Constant Field Values

C2S_CONNECTION

static final int C2S_CONNECTION
See Also:
Constant Field Values

S2S_L2R_CONNECTION

static final int S2S_L2R_CONNECTION
See Also:
Constant Field Values

S2S_R2L_CONNECTION

static final int S2S_R2L_CONNECTION
See Also:
Constant Field Values
Method Detail

setup

void setup(Socket socket)
           throws Exception
Throws:
Exception

isClosed

boolean isClosed()

close

void close()

getId

long getId()

getXmlPullParser

org.xmlpull.v1.XmlPullParser getXmlPullParser()

getConnectionType

int getConnectionType()

writeOutputStream

void writeOutputStream(String s)
                       throws IOException
Throws:
IOException

getEncoding

String getEncoding()

getStreams

Streams getStreams()