ArcGIS Server Geoportal extension
10

com.esri.gpt.catalog.arcims
Class ImsService

java.lang.Object
  extended by com.esri.gpt.catalog.arcims.ImsService

public class ImsService
extends Object

Stores a reference to an ArcIMS service.


Constructor Summary
ImsService()
          Default constructor.
 
Method Summary
 String getFullServiceUrl()
          Gets the full URL for accessing the service.
 boolean getIsHeadless()
          Gets the headless status.
 boolean getIsSocketBased()
          Determines if the service requires socket based communication.
 String getServerUrl()
          Gets the server url.
 String getServiceName()
          Gets the service name.
 int getTimeoutMillisecs()
          Gets the HTTP connection timeout in milli-seconds.
 void setIsHeadless(boolean isHeadless)
          Sets the headless status.
 void setServerUrl(String url)
          Sets the server url.
 void setServiceName(String name)
          Sets the service name.
 void setTimeoutMillisecs(int millisecs)
          Sets the HTTP connection timeout in milli-seconds.
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImsService

public ImsService()
Default constructor.

Method Detail

getFullServiceUrl

public String getFullServiceUrl()
Gets the full URL for accessing the service.

Returns:
the url

getIsHeadless

public boolean getIsHeadless()
Gets the headless status.

Returns:
true if the service is running on the headless MetadataServer

setIsHeadless

public void setIsHeadless(boolean isHeadless)
Sets the headless status.

Parameters:
isHeadless - true if the service is running on the headless MetadataServer

getIsSocketBased

public boolean getIsSocketBased()
Determines if the service requires socket based communication.

Returns:
true if the service requires socket based communication

getServerUrl

public String getServerUrl()
Gets the server url.

Returns:
the server url

setServerUrl

public void setServerUrl(String url)
Sets the server url.

Parameters:
url - the server url

getServiceName

public String getServiceName()
Gets the service name.

Returns:
the service name

setServiceName

public void setServiceName(String name)
Sets the service name.

Parameters:
name - the service name.

getTimeoutMillisecs

public int getTimeoutMillisecs()
Gets the HTTP connection timeout in milli-seconds.
0 indicates no timeout.

Returns:
the connection timeout

setTimeoutMillisecs

public void setTimeoutMillisecs(int millisecs)
Sets the HTTP connection timeout in milli-seconds.
0 indicates no timeout.

Parameters:
millisecs - connection timeout

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class Object
Returns:
the string

ArcGIS Server Geoportal extension
10

Copyright 2010 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.