Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class DriverInfo

java.lang.Object
  extended byoracle.panama.messaging.transport.DriverInfo


public class DriverInfo
extends java.lang.Object

The driver info contains all required information about a driver. A null carrier information means the driver doesn't care the carrier, so it can support any carrier. It is the same thing with other information such as: protocols, encodings and locales. However, driver name and delivery type are required, can not be null. Speed level and cost level should be between 0 and 10 inclusively.


Constructor Summary
DriverInfo()

Method Summary
java.lang.String[] getCarriers()
Get the supported carrier names.
int getCostLevel()
Get the cost level.
java.lang.String getDeliveryType()
Get the delivery type.
java.lang.String[] getEncodings()
Get the supported encoding formats.
java.util.Locale[] getLocales()
Get the supported locales.
java.lang.String getName()
Get the driver name.
java.lang.String[] getProtocols()
Get the supported protocols.
int getSpeedLevel()
Get the speed level.
void setCarriers(java.lang.String[] carriers)
Set the supported carrier names.
void setCostLevel(int cost)
Set the cost level.
void setDeliveryType(java.lang.String type)
Set the delivery type.
void setEncodings(java.lang.String[] encodings)
Set the supported encoding formats.
void setLocales(java.util.Locale[] locales)
Set the supported locales.
void setName(java.lang.String name)
Set the driver name.
void setProtocols(java.lang.String[] protocols)
Set the supported protocols.
void setSpeedLevel(int speed)
Set the speed level.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DriverInfo

public DriverInfo()

Method Detail

getCarriers

public java.lang.String[] getCarriers()
Get the supported carrier names.
Returns:
the supported carrier names.

getCostLevel

public int getCostLevel()
Get the cost level.
Returns:
the cost level.

getDeliveryType

public java.lang.String getDeliveryType()
Get the delivery type.
Returns:
the delivery type.

getEncodings

public java.lang.String[] getEncodings()
Get the supported encoding formats.
Returns:
the supported encoding formats.

getLocales

public java.util.Locale[] getLocales()
Get the supported locales.
Returns:
the supported locales.

getName

public java.lang.String getName()
Get the driver name.
Returns:
the driver name.

getProtocols

public java.lang.String[] getProtocols()
Get the supported protocols.
Returns:
the supported protocols.

getSpeedLevel

public int getSpeedLevel()
Get the speed level.
Returns:
the speed level.

setCarriers

public void setCarriers(java.lang.String[] carriers)
Set the supported carrier names.
Parameters:
carriers - the supported carrier names.

setCostLevel

public void setCostLevel(int cost)
Set the cost level.
Parameters:
cost - the cost level.

setDeliveryType

public void setDeliveryType(java.lang.String type)
Set the delivery type.
Parameters:
type - the delivery type.

setEncodings

public void setEncodings(java.lang.String[] encodings)
Set the supported encoding formats.
Parameters:
encodings - the supported encoding formats.

setLocales

public void setLocales(java.util.Locale[] locales)
Set the supported locales.
Parameters:
locales - the supported locales.

setName

public void setName(java.lang.String name)
Set the driver name.
Parameters:
name - the driver name.

setProtocols

public void setProtocols(java.lang.String[] protocols)
Set the supported protocols.
Parameters:
protocols - the supported protocols.

setSpeedLevel

public void setSpeedLevel(int speed)
Set the speed level.
Parameters:
speed - the speed level.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.