| Home >> All >> mobile >> [ protocol Javadoc ] |
mobile.protocol: Javadoc index of package mobile.protocol.
Package Samples:
mobile.protocol
Classes:
MobileRequestManager: This class implements a thread which manages requests sent from the mobile to the proxy and replies comming from the proxy. Each time a JMS or JNDI method is called in the jmsapi layer, a request is generated. It is than added to the request queue, where it waits to be sent to the proxy server. If the request needs to be answered, the calling thread waits until a reply arrives. When the proxy server sends the reply, it is added to a reply queue and all the waiting threads are woken up. The thread waiting for this reply deletes it from the queue. The main thread checks in a loop if there are requests ...
Frame: 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.
Request: This class provides implementation of message sent to the proxy server. This message represents an action such as a call of a JMS or JNDI method.
FrameQueue: The FrameQueue class implements a queue of Frame objects. It provides the queue interface, which is not available in the MIDP.
Reply: This class provides implementation of a reply message sent by the proxy server in reply to a request from a mobile device.
rmsTest: A test case, testing request serializing for the needs of storing them in the record store
FrameQueueTest: A test case, testing mobile.protocol.FrameQueue .
| Home | Contact Us | Privacy Policy | Terms of Service |