|
|||||||||
| Home >> All >> mobile >> [ protocol overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
mobile.protocol
Class Frame

java.lang.Objectmobile.protocol.Frame
- All Implemented Interfaces:
- mobile.bearer.http.Protocol
- public class Frame
- extends java.lang.Object
- implements mobile.bearer.http.Protocol
- extends java.lang.Object
The Frame class is an abstract class implementing a message which is sent between the library and the proxy server. The message concerns a JMS action such as creation of a new JMS object on the mobile device, a call of a JMS method on this object or a JNDI action, such as a lookup of a JMS administered object.
| Field Summary | |
int |
code
Represents the code of the message contained in the Frame according to the Protocol interface. |
private java.lang.Object[] |
data
message data |
int |
id
A unique id of this Frame on this mobile device. |
private Frame |
next
Reference to the next frame in the queue |
int |
owner
Represents the id of calling MIDlet |
private Frame |
prev
Reference to the previous frame in the frame queue |
| Constructor Summary | |
Frame()
|
|
| Method Summary | |
java.lang.Object[] |
getData()
Returns objects contained in this frame. |
Frame |
getNext()
accessor method for the next frame |
Frame |
getPrev()
accessor method for the previous frame |
void |
setData(java.lang.Object[] _data)
Sets the objects associated with this frame. |
void |
setNext(Frame newFrame)
accessor method for the next frame |
void |
setPrev(Frame newFrame)
accessor method for the next frame |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
prev
private Frame prev
Reference to the previous frame in the frame queue
next
private Frame next
Reference to the next frame in the queue
code
public int code
Represents the code of the message contained in the Frame according to the Protocol interface.
- See Also:
- >
owner
public int owner
Represents the id of calling MIDlet
data
private java.lang.Object[] data
message data
id
public int id
A unique id of this Frame on this mobile device.
| Constructor Detail |
Frame
public Frame()
| Method Detail |
getNext
public Frame getNext()
accessor method for the next frame
getPrev
public Frame getPrev()
accessor method for the previous frame
setNext
public void setNext(Frame newFrame)
accessor method for the next frame
setPrev
public void setPrev(Frame newFrame)
accessor method for the next frame
getData
public java.lang.Object[] getData()
Returns objects contained in this frame. These objects are needed to execute the method associated with this frame.
setData
public void setData(java.lang.Object[] _data)
Sets the objects associated with this frame.
|
|||||||||
| Home >> All >> mobile >> [ protocol overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
mobile.protocol.Frame