com.sap.ip.me.api.pios.connection
Class ConnectionParameters

java.lang.Object
  extended bycom.sap.ip.me.api.pios.connection.ConnectionParameters
Direct Known Subclasses:
PrinterParameters, RfidParameters, ScannerParameters

public class ConnectionParameters
extends java.lang.Object

Defines the base class for Peripheral connection parameters. Each peripheral type (scanner, printer, etc) will define its parameter class to provide a means of configuring the service before it is opened.

Since:
MI 2.5
Author:
Abaco
See Also:
Connector

Constructor Summary
protected ConnectionParameters(ConnectionType connectionType, DriverInfo driverInfo)
          Constructs a new ConnectionParameters object for the specified connection type.
 
Method Summary
 ConnectionType getConnection()
          Returns the connection type.
 DriverInfo getDriver()
          Returns the driver information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionParameters

protected ConnectionParameters(ConnectionType connectionType,
                               DriverInfo driverInfo)
Constructs a new ConnectionParameters object for the specified connection type.

Parameters:
connectionType - the connection type
driverInfo - the driver for this connection
Method Detail

getConnection

public final ConnectionType getConnection()
Returns the connection type.

Returns:
The type of the connection (for example: scanner, printer, msr) to be opened by the connector.

getDriver

public final DriverInfo getDriver()
Returns the driver information.

Returns:
The information driver used for the connection.


Copyright © 2005 SAP AG. All Rights Reserved.