ArcGIS Server Geoportal extension
10

com.esri.gpt.catalog.arcims
Class ImsHeadlessClient

java.lang.Object
  extended by com.esri.gpt.catalog.arcims.ImsClient
      extended by com.esri.gpt.catalog.arcims.ImsSocketClient
          extended by com.esri.gpt.catalog.arcims.ImsHeadlessClient

public class ImsHeadlessClient
extends ImsSocketClient

Provides MetadataServer communication with the headless ArcIMS server through a socket.


Field Summary
 
Fields inherited from class com.esri.gpt.catalog.arcims.ImsSocketClient
DATA_TYPE_STRING, POST_REQ
 
Constructor Summary
ImsHeadlessClient(SocketFarm socketFarm, String serviceName, String username, String metadataRole)
          Construct with supplied configuration parameters.
 
Method Summary
 void sendRequest()
          Sends the request.
 
Methods inherited from class com.esri.gpt.catalog.arcims.ImsSocketClient
getClientVersion, getForbiddenTags, getLocale, getMetadataRole, getPassword, getServerProperties, getServiceName, getSocketFarm, getUsername, readCharacters, setClientVersion, setForbiddenTags, setLocale, setMetadataRole, setPassword, setServerProperties, setServiceName, setSocketFarm, setUsername
 
Methods inherited from class com.esri.gpt.catalog.arcims.ImsClient
getAxlRequest, getAxlResponse, getResponseCode, getResponseCodeText, getTimeoutMillisecs, setAxlRequest, setAxlResponse, setResponseCode, setResponseCodeText, setTimeoutMillisecs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImsHeadlessClient

public ImsHeadlessClient(SocketFarm socketFarm,
                         String serviceName,
                         String username,
                         String metadataRole)
Construct with supplied configuration parameters.

Parameters:
socketFarm - the socket farm
serviceName - the service name
username - the username
metadataRole - the user's ArcIMS metadata role
Method Detail

sendRequest

public void sendRequest()
                 throws IOException
Sends the request.

Overrides:
sendRequest in class ImsSocketClient
Throws:
IOException - if a communication exception occurs

ArcGIS Server Geoportal extension
10

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