|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.server.Server
Holds the collection of services.
Field Summary | |
static java.lang.String |
SERVER_TAG
Constant used for finding configuration information in the Nodes. |
static java.lang.String |
SERVICE_TAG
|
Constructor Summary | |
Server(ServerHolder inHolder)
Creates new Service |
Method Summary | |
void |
addService(Service inService)
Add a service to the list of currently available services. |
java.lang.String |
getFeatureInfo(MapRequest inMapRequest)
gets the feature information for for this service. |
java.lang.String |
getHostName()
Get the hostname. |
byte[] |
getMap(MapRequest inMapRequest)
Get the Image from the service, and return it as the appropriate value. |
java.awt.image.BufferedImage |
getMapImage(MapRequest inMapRequest)
Get the Image from the service, and return it as the appropriate value. |
Node |
getNode()
Set up the configuration of this server. |
int |
getPortNumber()
Get the port number. |
Service |
getService(java.lang.String inName)
Return the service of the given name. |
Service[] |
getServices()
Return the set of configured services. |
void |
init(java.lang.String inFileName)
Read the configuration information. |
void |
removeService(Service inService)
Remove the service from the list of currently available services. |
void |
saveConfig()
Save the configuration of the server. |
void |
setHostName(java.lang.String inHostName)
Set the hostname. |
void |
setNode(Node inNode)
Set up the configuration of this server. |
void |
setPortNumber(int inNumber)
Set the port number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SERVER_TAG
public static final java.lang.String SERVICE_TAG
Constructor Detail |
public Server(ServerHolder inHolder)
Method Detail |
public void addService(Service inService)
public void removeService(Service inService)
public Service[] getServices()
public Service getService(java.lang.String inName)
public java.lang.String getHostName()
public void setHostName(java.lang.String inHostName)
public int getPortNumber()
public void setPortNumber(int inNumber)
public void saveConfig() throws java.lang.Exception
java.lang.Exception
public void setNode(Node inNode) throws java.lang.Exception
java.lang.Exception
public Node getNode() throws java.lang.Exception
java.lang.Exception
public void init(java.lang.String inFileName) throws java.lang.Exception
java.lang.Exception
public byte[] getMap(MapRequest inMapRequest) throws java.lang.Exception
java.lang.Exception
public java.awt.image.BufferedImage getMapImage(MapRequest inMapRequest) throws java.lang.Exception
java.lang.Exception
public java.lang.String getFeatureInfo(MapRequest inMapRequest) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |