net.rim.device.api.system
Class MobitexPacketHeader

java.lang.Object
  extended by net.rim.device.api.system.MobitexPacketHeader

Deprecated. Mobitex is no longer supported.

public final class MobitexPacketHeader
extends Object

A RadioPacketHeader for sending Mobitex packets.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

Field Summary
Category: Signed static int FLAG_MAILBOX
          Deprecated. Mailbox flag.
Category: Signed static int FLAG_POSACK
          Deprecated. POSACK flag.
Category: Signed static int FLAG_SENDLIST
          Deprecated. SENDLIST flag.
Category: Signed static int FLAG_UNKNOWN
          Deprecated. UNKNOWN flag.
Category: Signed static int PACKET_TYPE_DATA
          Deprecated. Data packet type.
Category: Signed static int PACKET_TYPE_HPDATA
          Deprecated. HPDATA packet type.
Category: Signed static int PACKET_TYPE_STATUS
          Deprecated. Status packet type.
Category: Signed static int PACKET_TYPE_TEXT
          Deprecated. Text packet type.
Category: Signed static int TS_CANNOT_BE_REACHED
          Deprecated. Returned, cannot be reached.
Category: Signed static int TS_DESTINATION_BUSY
          Deprecated. Returned, destination busy.
Category: Signed static int TS_ILLEGAL_MESSAGE
          Deprecated. Returned, bad message format.
Category: Signed static int TS_MESSAGE_FROM_MAILBOX
          Deprecated. Message from mailbox.
Category: Signed static int TS_MESSAGE_IN_MAILBOX
          Deprecated. Message was placed in mailbox & copy returned.
Category: Signed static int TS_MESSAGE_OK
          Deprecated. Message ok.
Category: Signed static int TS_NETWORK_CONGESTED
          Deprecated. Returned, network congested.
Category: Signed static int TS_TECHNICAL_ERROR
          Deprecated. Returned, technical network error.
 
Constructor Summary
Category: Signed MobitexPacketHeader()
          Deprecated. Construct a new MobitexPacketHeader object.
 
Method Summary
Category: Signed  int getDestinationAddress()
          Deprecated. Retrieves the packet destination address.
Category: Signed  int getHPID()
          Deprecated. Retrieves the higher protocol ID.
Category: Signed static int getMaxPacketSize()
          Deprecated. Retrieves the maximum packet size.
Category: Signed  int getPacketFlags()
          Deprecated. Retrieves the set of packet flags.
Category: Signed  int getPacketType()
          Deprecated. Retrieves the packet type.
Category: Signed  int getSourceAddress()
          Deprecated. Retrieves the packet source address.
Category: Signed  int getTrafficState()
          Deprecated. Retrieves the traffic state.
Category: Signed  void reset()
          Deprecated. Resets this header.
Category: Signed  void setDestinationAddress(int destinationAddress)
          Deprecated. Sets the packet destination address.
Category: Signed  void setHPID(int hpid)
          Deprecated. Sets the higher protocol ID.
Category: Signed  void setPacketFlags(int packetFlags)
          Deprecated. Sets specified packet flags.
Category: Signed  void setPacketType(int packetType)
          Deprecated. Sets the packet type.
Category: Signed  void setSourceAddress(int sourceAddress)
          Deprecated. Sets the packet source address.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Field Detail

TS_MESSAGE_OK

public static final int TS_MESSAGE_OK
Deprecated. 
Message ok.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

TS_MESSAGE_FROM_MAILBOX

public static final int TS_MESSAGE_FROM_MAILBOX
Deprecated. 
Message from mailbox.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

TS_MESSAGE_IN_MAILBOX

public static final int TS_MESSAGE_IN_MAILBOX
Deprecated. 
Message was placed in mailbox & copy returned.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

TS_CANNOT_BE_REACHED

public static final int TS_CANNOT_BE_REACHED
Deprecated. 
Returned, cannot be reached.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

TS_ILLEGAL_MESSAGE

public static final int TS_ILLEGAL_MESSAGE
Deprecated. 
Returned, bad message format.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

TS_NETWORK_CONGESTED

public static final int TS_NETWORK_CONGESTED
Deprecated. 
Returned, network congested.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

TS_TECHNICAL_ERROR

public static final int TS_TECHNICAL_ERROR
Deprecated. 
Returned, technical network error.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

TS_DESTINATION_BUSY

public static final int TS_DESTINATION_BUSY
Deprecated. 
Returned, destination busy.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

PACKET_TYPE_TEXT

public static final int PACKET_TYPE_TEXT
Deprecated. 
Text packet type.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

PACKET_TYPE_DATA

public static final int PACKET_TYPE_DATA
Deprecated. 
Data packet type.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

PACKET_TYPE_STATUS

public static final int PACKET_TYPE_STATUS
Deprecated. 
Status packet type.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

PACKET_TYPE_HPDATA

public static final int PACKET_TYPE_HPDATA
Deprecated. 
HPDATA packet type.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

FLAG_MAILBOX

public static final int FLAG_MAILBOX
Deprecated. 
Mailbox flag.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

FLAG_POSACK

public static final int FLAG_POSACK
Deprecated. 
POSACK flag.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

FLAG_SENDLIST

public static final int FLAG_SENDLIST
Deprecated. 
SENDLIST flag.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

FLAG_UNKNOWN

public static final int FLAG_UNKNOWN
Deprecated. 
UNKNOWN flag.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0


Constructor Detail

MobitexPacketHeader

public MobitexPacketHeader()
Deprecated. 
Construct a new MobitexPacketHeader object.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0


Method Detail

reset

public void reset()
Deprecated. 
Resets this header.

Use this method to reset this header's information fields to their default values.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

setSourceAddress

public void setSourceAddress(int sourceAddress)
Deprecated. 
Sets the packet source address.

Parameters:
sourceAddress - New source address for this packet.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getSourceAddress

public int getSourceAddress()
Deprecated. 
Retrieves the packet source address.

Returns:
Source address for this packet.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

setDestinationAddress

public void setDestinationAddress(int destinationAddress)
Deprecated. 
Sets the packet destination address.

Parameters:
destinationAddress - New destination address for this packet.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getDestinationAddress

public int getDestinationAddress()
Deprecated. 
Retrieves the packet destination address.

Returns:
Destination address for this packet.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

setPacketType

public void setPacketType(int packetType)
Deprecated. 
Sets the packet type.

Parameters:
packetType - Type for this packet; one of these values: MobitexPacketHeader.PACKET_TYPE_DATA, MobitexPacketHeader.PACKET_TYPE_HPDATA, MobitexPacketHeader.PACKET_TYPE_STATUS, or MobitexPacketHeader.PACKET_TYPE_TEXT.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getPacketType

public int getPacketType()
Deprecated. 
Retrieves the packet type.

Returns:
One of these values: MobitexPacketHeader.PACKET_TYPE_DATA, MobitexPacketHeader.PACKET_TYPE_HPDATA, MobitexPacketHeader.PACKET_TYPE_STATUS, or MobitexPacketHeader.PACKET_TYPE_TEXT.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

setPacketFlags

public void setPacketFlags(int packetFlags)
Deprecated. 
Sets specified packet flags.

Parameters:
packetFlags - Packet flags to set; one of these values: MobitexPacketHeader.FLAG_MAILBOX, MobitexPacketHeader.FLAG_POSACK, MobitexPacketHeader.FLAG_SENDLIST, or MobitexPacketHeader.FLAG_UNKNOWN.
Throws:
IllegalArgumentException - If the specified value is invalid.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getPacketFlags

public int getPacketFlags()
Deprecated. 
Retrieves the set of packet flags.

Returns:
One of these values: MobitexPacketHeader.FLAG_MAILBOX, MobitexPacketHeader.FLAG_POSACK, MobitexPacketHeader.FLAG_SENDLIST, or MobitexPacketHeader.FLAG_UNKNOWN.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

setHPID

public void setHPID(int hpid)
Deprecated. 
Sets the higher protocol ID.

Parameters:
hpid - New HPID to set.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getHPID

public int getHPID()
Deprecated. 
Retrieves the higher protocol ID.

Returns:
HPID for this packet.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getTrafficState

public int getTrafficState()
Deprecated. 
Retrieves the traffic state.

Returns:
One of these values: MobitexPacketHeader.TS_CANNOT_BE_REACHED, MobitexPacketHeader.TS_DESTINATION_BUSY, MobitexPacketHeader.TS_ILLEGAL_MESSAGE, MobitexPacketHeader.TS_MESSAGE_FROM_MAILBOX, MobitexPacketHeader.TS_MESSAGE_IN_MAILBOX, MobitexPacketHeader.TS_MESSAGE_OK, MobitexPacketHeader.TS_NETWORK_CONGESTED, or MobitexPacketHeader.TS_TECHNICAL_ERROR.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getMaxPacketSize

public static int getMaxPacketSize()
Deprecated. 
Retrieves the maximum packet size.

Returns:
Maximum allowable packet size.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.