|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInternetServerConnection
Provides access to properties and methods needed to help manage Internet server connections.
This interface provides access to properties and methods needed to help manage Internet server connections. Use this interface to make a server connection, manage data definitions and get error message/code, etc.
Method Summary | |
---|---|
void |
connect(String bstrUserName,
String bstrPassword)
Creates Internet server connection. |
void |
disableDataDefinition(String bstrDataDefinitionID)
Disables dataset definition for the Internet server connection. |
void |
disconnect()
Disconnects Internet server connection. |
void |
enableDataDefinition(String bstrDataDefinitionID)
Enables data definition for the Internet server connection. |
String |
getConnectionName()
Name of Internet server connection. |
String |
getConnectionString()
Indicates connection string value. |
IDatasetDef |
getDataSetDefinition(String bstrName)
Gets value for dataset definition for Internet server connection. |
Object |
getDataSetDefinitionList()
Lists values in the dataset definition. |
Object |
getEnabledDataDefinitions()
Indicates whether data definitions are enabled for the Internet server connection. |
int |
getLastConnectionErrorCode()
Indicates error code value for the last Internet server connection. |
String |
getLastConnectionErrorMessage()
Indicates error code value for the last Internet server connection. |
IMessage |
getMessage(int nTimeOutInMilliseconds)
Gets message via the Internet server connection. |
int |
getPortNumber()
Port number used for the Internet server connection. |
String |
getServerName()
Indicates server name in the Internet server connection. |
String |
getSubletPath()
Value of the sublet path for the Internet server connection. |
String |
getTopicName(String bstrServiceName)
Indicates name for the topic in the Internet server connection. |
ITrackingServiceDef |
getTrackingService(String bstrName)
Gets tracking service information for the Internet server connection. |
Object |
getTrackingServicesList()
Lists tracking services within the Internet server connection. |
String |
getUserName()
Indicates user's name using the Internet server connection. |
boolean |
isConnected()
Indicates whether the Internet server connection is active. |
boolean |
isEnableDataFiltering()
Indicates whether data filtering is enabled for the Internet server connection. |
void |
returnDataSetDefinition(IDatasetDef piDataSetDef)
Returns value for dataset definition in Internet server connection. |
void |
returnTrackingService(ITrackingServiceDef piTrackingServiceDef)
Returns tracking service information for the Internet server connection. |
IResponseMessage |
sendCommand(ICommandMessage piCmdMsg,
int nTimeOut)
Sends command information via the Internet server connection. |
void |
sendMessage(IMessage piMessage)
Sends message via the Internet server connection. |
void |
setConnectionName(String pbstrConnectionName)
Name of Internet server connection. |
void |
setConnectionString(String pbstrConnectionString)
Indicates connection string value. |
void |
setEnableDataFiltering(boolean pbvVal)
Indicates whether data filtering is enabled for the Internet server connection. |
void |
setPortNumber(int plPortNumber)
Port number used for the Internet server connection. |
void |
setServerName(String pVal)
Indicates server name in the Internet server connection. |
void |
setSubletPath(String pbstrSubletPath)
Value of the sublet path for the Internet server connection. |
void |
setTopicName(String bstrServiceName,
String pbstrTopicName)
Indicates name for the topic in the Internet server connection. |
Method Detail |
---|
boolean isConnected() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getServerName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setServerName(String pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getUserName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEnableDataFiltering() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEnableDataFiltering(boolean pbvVal) throws IOException, AutomationException
pbvVal
- The pbvVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getDataSetDefinitionList() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getEnabledDataDefinitions() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLastConnectionErrorCode() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getLastConnectionErrorMessage() throws IOException, AutomationException
This property indicates error message value for the last Internet server connection.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getConnectionName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setConnectionName(String pbstrConnectionName) throws IOException, AutomationException
pbstrConnectionName
- The pbstrConnectionName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getConnectionString() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setConnectionString(String pbstrConnectionString) throws IOException, AutomationException
pbstrConnectionString
- The pbstrConnectionString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void connect(String bstrUserName, String bstrPassword) throws IOException, AutomationException
bstrUserName
- The bstrUserName (in)bstrPassword
- The bstrPassword (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disconnect() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void sendMessage(IMessage piMessage) throws IOException, AutomationException
piMessage
- A reference to a com.esri.arcgis.trackinganalyst.IMessage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMessage getMessage(int nTimeOutInMilliseconds) throws IOException, AutomationException
This method gets message via the Internet server connection. The method times out after nTimeOutInMilliseconds if no message is received by the connection.
nTimeOutInMilliseconds
- The nTimeOutInMilliseconds (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void enableDataDefinition(String bstrDataDefinitionID) throws IOException, AutomationException
This method enables a data definition for the Internet server connection specified by bstrDataDefinitionID. bstrDataDefinitionID is the key to the data definition to be enabled.
bstrDataDefinitionID
- The bstrDataDefinitionID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disableDataDefinition(String bstrDataDefinitionID) throws IOException, AutomationException
This method disables a dataset definition for the internet server connection specified by bstrDataDefinitionID. bstrDataDefinitionID is the key to the dataset to be disabled.
bstrDataDefinitionID
- The bstrDataDefinitionID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void returnDataSetDefinition(IDatasetDef piDataSetDef) throws IOException, AutomationException
This method does nothing in the current version.
piDataSetDef
- A reference to a com.esri.arcgis.trackinganalyst.IDatasetDef (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IDatasetDef getDataSetDefinition(String bstrName) throws IOException, AutomationException
This method gets value for dataset definition for Internet server connection specified by bstrName.
bstrName
- The bstrName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IResponseMessage sendCommand(ICommandMessage piCmdMsg, int nTimeOut) throws IOException, AutomationException
piCmdMsg
- A reference to a com.esri.arcgis.trackinganalyst.ICommandMessage (in)nTimeOut
- The nTimeOut (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getTrackingServicesList() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITrackingServiceDef getTrackingService(String bstrName) throws IOException, AutomationException
This method gets message via the Internet server connection. The method times out after nTimeOutInMilliseconds if no message is received by the connection.
bstrName
- The bstrName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void returnTrackingService(ITrackingServiceDef piTrackingServiceDef) throws IOException, AutomationException
This method does nothing in the current version.
piTrackingServiceDef
- A reference to a com.esri.arcgis.trackinganalyst.ITrackingServiceDef (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getSubletPath() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSubletPath(String pbstrSubletPath) throws IOException, AutomationException
pbstrSubletPath
- The pbstrSubletPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getTopicName(String bstrServiceName) throws IOException, AutomationException
bstrServiceName
- The bstrServiceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTopicName(String bstrServiceName, String pbstrTopicName) throws IOException, AutomationException
bstrServiceName
- The bstrServiceName (in)pbstrTopicName
- The pbstrTopicName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPortNumber() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPortNumber(int plPortNumber) throws IOException, AutomationException
plPortNumber
- The plPortNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |