FileDocCategorySizeDatePackage
CirChannel.javaAPI DocAndroid 1.5 API1711Wed May 06 22:42:46 BST 2009com.android.im.imps

CirChannel

public abstract class CirChannel extends Object
The protocol binding in data channel might be WSP, HTTP and HTTPS which are asymmetric. In this case when the server needs to start transaction, it has to send a communication initiation request message through the CIR channel to the client in order to request an immediate PollingRequest message from the client to the server on the data channel.

Fields Summary
protected ImpsConnection
mConnection
Constructors Summary
protected CirChannel(ImpsConnection connection)

        mConnection = connection;
    
Methods Summary
public abstract voidconnect()
Establishes the connection to the server if the protocol is connection oriented (e.g. as TCP)and starts to listen to CIR requests from the server.

throws
Exception

public voidreconnect()

    
public abstract voidshutdown()
Shutdown the CIR channel, stops to listen to CIR requests from the server.