Java Reference
In-Depth Information
Figure 14-3. Receiving a message using the push registry
Later, in Chapter 12, in the “Using Sockets with the GCF” section, you saw how you
could include the URL in a MIDlet-Push field for an incoming end point in your JAD file.
When you do this, you must specify three things:
• A URL describing the inbound end point (in the same syntax as a URL for
Connector.open )
• The MIDlet class you want the AMS to launch when an incoming request is made
to the inbound end point
• The address of senders permitted to establish a connection to the inbound
end point
Listing 14-3 shows some hypothetical MIDlet-Push entries.
Search WWH ::




Custom Search