Esri Geoportal Server
1.0

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 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 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

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

Esri Geoportal Server
1.0

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