com.ibm.oti.connection
Interface CreateConnection

All Superinterfaces:
Connection
All Known Implementing Classes:
Connection, Connection, Connection, Connection, Connection, Connection, Connection, Connection

public interface CreateConnection
extends Connection

Stub for IBM J9 implementation.

Licensed Materials - Property of IBM, (c) Copyright IBM Corp. 2000, 2002 All Rights Reserved

This class is not distributed with BlueCove binary distribution: bluecove.jar

Rating red

Method Summary
 void setParameters(String spec, int access, boolean timeout)
          Passes the parameters from the Connector.open() method to this object.
 Connection setParameters2(String spec, int access, boolean timeout)
          Passes the parameters from the Connector.open() method to this object.
 
Methods inherited from interface javax.microedition.io.Connection
close
 

Method Detail

setParameters

void setParameters(String spec,
                   int access,
                   boolean timeout)
                   throws IOException
Passes the parameters from the Connector.open() method to this object. Protocol used by MIDP 1.0

Parameters:
spec - String The address passed to Connector.open()
access - int The type of access this Connection is granted (READ, WRITE, READ_WRITE)
timeout - boolean A boolean indicating wether or not the caller to Connector.open() wants timeout exceptions or not
Throws:
IOException - If an error occured opening and configuring serial port.
See Also:
Connector

setParameters2

Connection setParameters2(String spec,
                          int access,
                          boolean timeout)
                          throws IOException
Passes the parameters from the Connector.open() method to this object. Protocol used by MIDP 2.0

Parameters:
spec - String The address passed to Connector.open()
access - int The type of access this Connection is granted (READ, WRITE, READ_WRITE)
timeout - boolean A boolean indicating wether or not the caller to Connector.open() wants timeout exceptions or not
Throws:
IOException - If an error occured opening and configuring serial port.
See Also:
Connector