|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.panama.messaging.transport.DriverInfo
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 |
| Type | Method |
|---|---|
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 |
public DriverInfo()
| Method Detail |
public java.lang.String getName()
public java.lang.String getDeliveryType()
public java.lang.String[] getProtocols()
public java.lang.String[] getCarriers()
public java.lang.String[] getEncodings()
public java.util.Locale[] getLocales()
public int getSpeedLevel()
public int getCostLevel()
public void setName(java.lang.String name)
name - the driver name.public void setDeliveryType(java.lang.String type)
type - the delivery type.public void setProtocols(java.lang.String[] protocols)
protocols - the supported protocols.public void setCarriers(java.lang.String[] carriers)
carriers - the supported carrier names.public void setEncodings(java.lang.String[] encodings)
encodings - the supported encoding formats.public void setLocales(java.util.Locale[] locales)
locales - the supported locales.public void setSpeedLevel(int speed)
speed - the speed level.public void setCostLevel(int cost)
cost - the cost level.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||