| 
Esri Geoportal Server 1.0 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.harvest.clients.HRAbstractClient
com.esri.gpt.catalog.harvest.clients.HRHttpClient
com.esri.gpt.catalog.harvest.clients.HRARCIMSClient
public class HRARCIMSClient
ArcIMS repository client. Provides complete functionality required to establish connection with ArcIMS server.
| Field Summary | |
|---|---|
static int | 
DEFAULT_PORT_NO
Default port number.  | 
| Fields inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient | 
|---|
FTP_URL_PFX, HTTP_URL_PFX, HTTPS_URL_PFX | 
| Constructor Summary | |
|---|---|
HRARCIMSClient(String hostUrl,
               int portNo,
               String serviceName,
               String userName,
               String userPassword,
               String rootFolder)
Creates instance of the client.  | 
|
| Method Summary | |
|---|---|
 String | 
getHostUrl()
Gets host URL.  | 
 int | 
getPortNo()
Gets connection port number.  | 
 String | 
getRootFolder()
Gets root folder.  | 
 String | 
getServiceName()
Gets service name.  | 
 String | 
getUserName()
Gets user name required to make connection.  | 
 String | 
getUserPassword()
Gets user password required to make connection.  | 
 void | 
ping()
Checks and verifies connection to the remote repository.  | 
 void | 
setHostUrl(String hostUrl)
Sets host URL.  | 
 void | 
setPortNo(int portNo)
Sets port number.  | 
 void | 
setRootFolder(String rootFolder)
Sets root folder.  | 
 void | 
setServiceName(String serviceName)
Sets service name.  | 
 void | 
setUserName(String userName)
Sets user name required to make connection.  | 
 void | 
setUserPassword(String userPassword)
Sets user password required to make connection.  | 
 String | 
toString()
Returns a string representation of the object.  | 
protected  void | 
validateProtocol()
Validates protocol definition.  | 
| Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient | 
|---|
isFtp, isHttp, isHttps, openConnection, openConnection | 
| Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRAbstractClient | 
|---|
getTimeout, isPingSupported | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final int DEFAULT_PORT_NO
| Constructor Detail | 
|---|
public HRARCIMSClient(String hostUrl,
                      int portNo,
                      String serviceName,
                      String userName,
                      String userPassword,
                      String rootFolder)
hostUrl - host urlportNo - port numberserviceName - service nameuserName - user name (optional)userPassword - user password (optional)rootFolder - root folder  (optional)| Method Detail | 
|---|
public int getPortNo()
public void setPortNo(int portNo)
portNo - port numberpublic String getHostUrl()
getHostUrl in class HRAbstractClientpublic void setHostUrl(String hostUrl)
hostUrl - host URLpublic String getUserName()
public void setUserName(String userName)
userName - user name required to make connectionpublic String getUserPassword()
public void setUserPassword(String userPassword)
userPassword - user password required to make connectionpublic String getServiceName()
public void setServiceName(String serviceName)
serviceName - service namepublic String getRootFolder()
public void setRootFolder(String rootFolder)
rootFolder - root folder
public void ping()
          throws HRInvalidProtocolException,
                 HRConnectionException
HRInvalidProtocolException - if provided connection 
 definition is incomplete
HRConnectionException - if connection to the remote repository can not
 be established at this momentpublic String toString()
toString in class HRAbstractClient
protected void validateProtocol()
                         throws HRInvalidProtocolException
validateProtocol in class HRHttpClientHRInvalidProtocolException - if invalid protocol definition
  | 
Esri Geoportal Server 1.0 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||