Hi Stu,
The LinkLayer doesn't support what you are trying to do - it expects to
make queries to the server, and only listens for responses to those
queries. It doesn't listen for updates later.
You can get the behavior you want by modifying the LinkLayer:
You could add a javax.swing.Timer to the LinkLayer to have it poll the
server for changes at certain intervals.
You could add a thread in the LinkLayer to open a port that listens for
input from the server, with the LinkLayer telling your server the host
and port to contact in some initial request properties.
I guess you could also change the LinkLayer and LinkServer so that they
share communication over a single Link, taking turns to listen.
Hope this helps,
Don
On Thursday, January 16, 2003, at 03:33 PM, Whitman, Stu wrote:
> Hello,
>
> I am a developer for the Air Mobility Operations Simulator (AMOS) being
> developed by us for AMC. The maptool application of AMOS reads
> simulation
> results from a database and displays them on a map. A kind of animation
> playback of the simulation. When an icon is selected on the map, the
> playback is paused and maptool displays detailed information in a
> pop-up
> window. It currently interfaces with Oilstock and Arcview.
>
> I have written a C++ implementation of the Link Protocol and a test
> driver
> which mimics what the maptool application will do once integrated.
>
> What I have found out using this test driver is that the LinkLayer only
> listens for data on the socket after sending a MapRequest or an
> ActionRequest.
>
> I would like to be able to send a graphic across the link at anytime
> and
> have it displayed, or deleted or whatever.
>
> Am I doing something wrong or am I trying to do something that is not
> supported by the LinkLayer?
>
> Stu
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Fri Jan 17 08:59:24 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT