DCT Lightfoot v3 API specification

com.dctl.j2me.io
Class BaseConnection

java.lang.Object
  |
  +--com.dctl.j2me.io.BaseConnection
All Implemented Interfaces:
Connection
Direct Known Subclasses:
BaseHttpConnection, Connection, Connection, Connection, Connection, Connection

public abstract class BaseConnection
extends Object
implements Connection

All connections must extend base connections


Field Summary
protected  ProtocolString protocol
          The protocol string
 
Constructor Summary
BaseConnection()
           
 
Method Summary
abstract  void setParameters(java.lang.String url, int mode, boolean timeouts)
          Set the URL, mode and timeouts
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.microedition.io.Connection
close
 

Field Detail

protocol

protected ProtocolString protocol
The protocol string

Constructor Detail

BaseConnection

public BaseConnection()
Method Detail

setParameters

public abstract void setParameters(java.lang.String url,
                                   int mode,
                                   boolean timeouts)
                            throws IOException
Set the URL, mode and timeouts

Parameters:
url - The URL passed to connector.open
mode - The mode passed to connector.open or DEFAULT
timeouts - true if timeout exceptions should occur
Throws:
IOException - if there is an error

DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification