|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.arcims.ImsClient
com.esri.gpt.catalog.arcims.ImsSocketClient
public class ImsSocketClient
Provides MetadataServer communication with a standard ArcIMS server through a socket.
| Field Summary | |
|---|---|
protected static int |
DATA_TYPE_STRING
|
protected static int |
POST_REQ
|
| Constructor Summary | |
|---|---|
ImsSocketClient(SocketFarm socketFarm,
String serviceName,
String username,
String metadataRole)
Construct with supplied configuration parameters. |
|
| Method Summary | |
|---|---|
protected String |
getClientVersion()
Gets the client version. |
protected String |
getForbiddenTags()
Gets the forbidden tags. |
protected String |
getLocale()
Gets the locale. |
protected String |
getMetadataRole()
Gets the metadata role. |
protected String |
getPassword()
Gets the password. |
protected String |
getServerProperties()
Gets the server properties. |
protected String |
getServiceName()
Gets the service name. |
protected SocketFarm |
getSocketFarm()
Gets the socket farm. |
protected String |
getUsername()
Gets the username. |
protected StringBuffer |
readCharacters(InputStream strm)
Fully reads the characters from an InputStream. |
void |
sendRequest()
Sends the request. |
protected void |
setClientVersion(String version)
Sets the client version. |
protected void |
setForbiddenTags(String tags)
Sets the forbidden tags. |
protected void |
setLocale(String locale)
Sets the locale. |
protected void |
setMetadataRole(String role)
Sets the metadata role. |
protected void |
setPassword(String password)
Sets the password. |
protected void |
setServerProperties(String properties)
Sets the server properties. |
protected void |
setServiceName(String name)
Sets the service name. |
protected void |
setSocketFarm(SocketFarm socketFarm)
Sets the socket farm. |
protected void |
setUsername(String username)
Sets the username. |
| 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 |
| Field Detail |
|---|
protected static final int DATA_TYPE_STRING
protected static final int POST_REQ
| Constructor Detail |
|---|
public ImsSocketClient(SocketFarm socketFarm,
String serviceName,
String username,
String metadataRole)
socketFarm - the socket farmserviceName - the service nameusername - the usernamemetadataRole - the user's ArcIMS metadata role| Method Detail |
|---|
protected String getClientVersion()
protected void setClientVersion(String version)
version - the client versionprotected String getForbiddenTags()
protected void setForbiddenTags(String tags)
tags - the forbidden tagsprotected String getLocale()
protected void setLocale(String locale)
locale - the localeprotected String getMetadataRole()
protected void setMetadataRole(String role)
role - the metadata roleprotected String getPassword()
protected void setPassword(String password)
password - the passwordprotected String getServerProperties()
protected void setServerProperties(String properties)
properties - the server propertiesprotected String getServiceName()
protected void setServiceName(String name)
name - the service name.protected SocketFarm getSocketFarm()
protected void setSocketFarm(SocketFarm socketFarm)
socketFarm - the socket farmprotected String getUsername()
protected void setUsername(String username)
username - the username
protected StringBuffer readCharacters(InputStream strm)
throws IOException
strm - the InputStream
IOException - if an exception occurs
public void sendRequest()
throws IOException
sendRequest in class ImsClientIOException - if a communication exception occurs
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||