Don,
>The current ShapeLinkServer only provides a way to serve up a single
>shape file at a time, so if you want multiple shape files displayed,
>you'll have to set up multiple layers and multiple servers.
** I have another idea is it possible for me to MULTIPLEX the same PORT.
i dont want to run each server on a dedicated port.
What i can do is
Every time the LinkLayer opens a socket it sends a HEADER
(in this case i guess i would have the modify the
ShapeLinkServer/LinkLayer ) specifying for
which SHAPEFILE the LinkLayer is opening the socket. The ShapeLinkServer
would
decode the header and connect the Linkserver instance handling the requested
shapefile.
what is your opinion about this?
Morover can i have multiple instances of LinkLayers launched (with 2 entries
in the properties file like
say link1.class=com.bbn.openmap.layer.link.LinkLayer.class,
link2.class=com.bbn.openmap.layer.link.LinkLayer.class
to have multiple clients launched for each shapefile?
cheers
rajesh.m
Cheers,
Don
"Rajesh.M" wrote:
>
> Hi Don,
>
> >The LinkLayer, as part of an OpenMap Application or Applet using the
> >MapBean, is the client. The LinkLayer has been written to use the
> >protocol to talk to a server as needed.
> ** succesfully did the Linklayer - linkserver communication and popped
> up the applet with shapefiles..that was cool stuff..
> However i need to support multiple shape files. Should i start Linkserver
> on multiple socket ports each serving different shape files or is there
any
> other better way there in the code for serving multiple shape files?
> cheers
> rajesh.m
>
> --
> [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"]
-- [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"] -- [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 Tue May 15 10:44:45 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT