Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.transport
Class DeviceInfo

java.lang.Object
  |
  +--oracle.panama.messaging.transport.DeviceInfo

public class DeviceInfo
extends java.lang.Object

The device info contains all information of a device. Among these information, only the delivery type is required. All others properties are optional, when provided, they might be used by the routing algorithm to refine request criteria in an effort to find the best way to deliver the message.

Author:
jxiang

Constructor Summary
DeviceInfo()
           

 

Method Summary
 java.lang.String getCarrier()
          Get the carrier name.
 java.lang.String getDeliveryType()
          Get the delivery type.
 java.lang.String getEncoding()
          Get the encoding.
 java.util.Locale getLocale()
          Get the locale.
 java.lang.String getModel()
          Get the device model.
 java.lang.String getProtocol()
          Get the protocol.
 void setCarrier(java.lang.String carrier)
          Set the carrier name.
 void setDeliveryType(java.lang.String type)
          Set the delivery type.
 void setEncoding(java.lang.String encoding)
          Set the encoding.
 void setLocale(java.util.Locale locale)
          Set the locale.
 void setModel(java.lang.String model)
          Set the device model.
 void setProtocol(java.lang.String protocol)
          Set the protocol.
 java.lang.String toString()
           

 

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

 

Constructor Detail

DeviceInfo

public DeviceInfo()
Method Detail

getDeliveryType

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

getModel

public java.lang.String getModel()
Get the device model.
Returns:
the device model.

getCarrier

public java.lang.String getCarrier()
Get the carrier name.
Returns:
the carrier name.

getProtocol

public java.lang.String getProtocol()
Get the protocol.
Returns:
the protocol.

getEncoding

public java.lang.String getEncoding()
Get the encoding.
Returns:
the encoding.

getLocale

public java.util.Locale getLocale()
Get the locale.
Returns:
the locale.

setDeliveryType

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

setModel

public void setModel(java.lang.String model)
Set the device model.
Parameters:
model - the device model.

setCarrier

public void setCarrier(java.lang.String carrier)
Set the carrier name.
Parameters:
carrier - the carrier name.

setProtocol

public void setProtocol(java.lang.String protocol)
Set the protocol.
Parameters:
protocol - the protocol.

setEncoding

public void setEncoding(java.lang.String encoding)
Set the encoding.
Parameters:
encoding - the encoding.

setLocale

public void setLocale(java.util.Locale locale)
Set the locale.
Parameters:
locale - the locale.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.