|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.trackinganalyst.GeneralTrackingConnector
public class GeneralTrackingConnector
Base Class for Tracking Workspace connector objects. This class is aggregated by the Tracking Workspace connector wizard.
| Constructor Summary | |
|---|---|
GeneralTrackingConnector()
Constructs a GeneralTrackingConnector using ArcGIS Engine. |
|
GeneralTrackingConnector(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GeneralTrackingConnector theGeneralTrackingConnector = (GeneralTrackingConnector) obj; |
|
| Method Summary | |
|---|---|
void |
addDataMessage(IDataMessage piMessage)
Add a Data Message to the Connectors Queue. |
void |
addDebugMessage(String bstrMessage)
Add a Debug Message to the internal Debug log. |
void |
addMessageDefinition(IDatasetDef piMessageDef)
Add a message definition to the collection. |
void |
addTrackingServiceDefinition(ITrackingServiceDef piServiceDef)
Add a tracking service definition to the collection. |
void |
connect(String bstrUserName,
String bstrPassword)
Creates connection to the server. |
void |
disableDataDefinition(String bstrDataDefinitionID)
Disables data definition for the server connection. |
void |
disconnect()
Disconnects connection from the server. |
void |
enableDataDefinition(String bstrDataDefinitionID)
Enables data definition for the server connection. |
boolean |
equals(Object o)
Compare this object with another |
String |
getActivityLog()
Indicates error code value for the last Internet server connection. |
static String |
getClsid()
getClsid. |
String |
getConnectionName()
Indicates the name of the connection to the server. |
IPropSet |
getConnectionProperties()
Properties for the server connection. |
int |
getConnectionStatus()
The Connection State of the object. |
String |
getConnectionString()
Connection string value for the server connection. |
IDatasetDef |
getDataSetDefinition(String bstrName)
Gets dataset definition information for the server connection. |
Object |
getDataSetDefinitionList()
Lists the dataset definition information for the connection. |
Object |
getEnabledDataDefinitions()
Indicates which data definitions are enabled. |
int |
getErrorCode()
Error code of the last error. |
String |
getErrorMessage()
Message associated with last error / error code. |
int |
getEventReadyHandle()
The handle to the event that is signaled when a message is ready to be received. |
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)
Retrieves a message from the server connection. |
int |
getMessageCount()
The count of messages ready to retrieve. |
IPlugin |
getPlugIn()
Data link plugin information for the server connection. |
Object |
getServerActions(boolean bForEditing)
Actions used on data in the server connection. |
String |
getServerName()
Name for the server. |
ITrackingServiceDef |
getTrackingService(String bstrName)
Gets tracking service for the server connection. |
Object |
getTrackingServicesList()
List of tracking services. |
String |
getUserName()
User's login name. |
int |
hashCode()
the hashcode for this object |
boolean |
isConnected()
Indicates whether the server connection is connected. |
boolean |
isEnableDataFiltering()
Indicates whether data filtering is enabled for the connection. |
IMessage |
nextMessage()
Retrieves a message from the server connection. |
void |
removeMessageDef(String bstrMessageDefinitionName)
Removes a Message Definition from the collection. |
void |
removeTrackingServiceDef(String bstrServiceName)
Removes a Tracking Service Definition from the collection. |
void |
returnDataSetDefinition(IDatasetDef piDataSetDef)
Returns dataset definition information for the server connection. |
void |
returnServerActions(boolean bSave,
Object piActionCollection)
Actions used on data in the server connection. |
void |
returnTrackingService(ITrackingServiceDef piTrackingServiceDef)
Returns tracking service for the server connection. |
IResponseMessage |
sendCommand(ICommandMessage piCmdMsg,
int nTimeOut)
Sends a command to the server connection. |
void |
sendMessage(IMessage piMessage)
Sends a message through the server connection path. |
void |
setConnectionName(String pbstrConnectionName)
Indicates the name of the connection to the server. |
void |
setConnectionProperties(IPropSet ppiProperties)
Properties for the server connection. |
void |
setConnectionStatus(int peConnectionStatus)
The Connection State of the object. |
void |
setConnectionString(String pbstrConnectionString)
Connection string value for the server connection. |
void |
setEnableDataFiltering(boolean pbvVal)
Indicates whether data filtering is enabled for the connection. |
void |
setErrorCode(int pdwLastErrorCode)
Error code of the last error. |
void |
setErrorMessage(String pbstrLastErrorMessage)
Message associated with last error / error code. |
void |
setParentByRef(Object rhs1)
Assign the parent object so this interface object can communicate with its parent. |
void |
setServerName(String pVal)
Name for the server. |
boolean |
validateTrackingService(ITrackingServiceDef piServiceDef)
Validate a tracking service within the tracking service collection. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public GeneralTrackingConnector()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GeneralTrackingConnector(Object obj)
throws IOException
GeneralTrackingConnector theGeneralTrackingConnector = (GeneralTrackingConnector) obj;
obj to GeneralTrackingConnector.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getLastConnectionErrorCode()
throws IOException,
AutomationException
getLastConnectionErrorCode in interface IServerConnectiongetLastConnectionErrorCode in interface ITxDiagnosticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLastConnectionErrorMessage()
throws IOException,
AutomationException
getLastConnectionErrorMessage in interface IServerConnectiongetLastConnectionErrorMessage in interface ITxDiagnosticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getActivityLog()
throws IOException,
AutomationException
getActivityLog in interface ITxDiagnosticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isConnected()
throws IOException,
AutomationException
isConnected in interface IServerConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getServerName()
throws IOException,
AutomationException
getServerName in interface IServerConnectiongetServerName in interface ITxConnectorSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setServerName(String pVal)
throws IOException,
AutomationException
setServerName in interface IServerConnectionpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getUserName()
throws IOException,
AutomationException
getUserName in interface IServerConnectiongetUserName in interface ITxConnectorSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnableDataFiltering()
throws IOException,
AutomationException
isEnableDataFiltering in interface IServerConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEnableDataFiltering(boolean pbvVal)
throws IOException,
AutomationException
setEnableDataFiltering in interface IServerConnectionpbvVal - The pbvVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getDataSetDefinitionList()
throws IOException,
AutomationException
getDataSetDefinitionList in interface IServerConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getEnabledDataDefinitions()
throws IOException,
AutomationException
getEnabledDataDefinitions in interface IServerConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getConnectionName()
throws IOException,
AutomationException
getConnectionName in interface IServerConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConnectionName(String pbstrConnectionName)
throws IOException,
AutomationException
setConnectionName in interface IServerConnectionpbstrConnectionName - The pbstrConnectionName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getConnectionString()
throws IOException,
AutomationException
getConnectionString in interface IServerConnectiongetConnectionString in interface ITxConnectorSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConnectionString(String pbstrConnectionString)
throws IOException,
AutomationException
setConnectionString in interface IServerConnectionpbstrConnectionString - The pbstrConnectionString (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void connect(String bstrUserName,
String bstrPassword)
throws IOException,
AutomationException
connect in interface IServerConnectionbstrUserName - The bstrUserName (in)bstrPassword - The bstrPassword (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void disconnect()
throws IOException,
AutomationException
disconnect in interface IServerConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sendMessage(IMessage piMessage)
throws IOException,
AutomationException
sendMessage in interface IServerConnectionpiMessage - A reference to a com.esri.arcgis.trackinganalyst.IMessage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMessage getMessage(int nTimeOutInMilliseconds)
throws IOException,
AutomationException
getMessage in interface IServerConnectionnTimeOutInMilliseconds - The nTimeOutInMilliseconds (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enableDataDefinition(String bstrDataDefinitionID)
throws IOException,
AutomationException
enableDataDefinition in interface IServerConnectionbstrDataDefinitionID - The bstrDataDefinitionID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void disableDataDefinition(String bstrDataDefinitionID)
throws IOException,
AutomationException
disableDataDefinition in interface IServerConnectionbstrDataDefinitionID - The bstrDataDefinitionID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void returnDataSetDefinition(IDatasetDef piDataSetDef)
throws IOException,
AutomationException
returnDataSetDefinition in interface IServerConnectionpiDataSetDef - A reference to a com.esri.arcgis.trackinganalyst.IDatasetDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDatasetDef getDataSetDefinition(String bstrName)
throws IOException,
AutomationException
getDataSetDefinition in interface IServerConnectionbstrName - The bstrName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IResponseMessage sendCommand(ICommandMessage piCmdMsg,
int nTimeOut)
throws IOException,
AutomationException
sendCommand in interface IServerConnectionpiCmdMsg - 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.
public IPropSet getConnectionProperties()
throws IOException,
AutomationException
getConnectionProperties in interface IServerConnection2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConnectionProperties(IPropSet ppiProperties)
throws IOException,
AutomationException
setConnectionProperties in interface IServerConnection2ppiProperties - A reference to a com.esri.arcgis.trackinganalyst.IPropSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPlugin getPlugIn()
throws IOException,
AutomationException
getPlugIn in interface IServerConnection2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getTrackingServicesList()
throws IOException,
AutomationException
getTrackingServicesList in interface IServerConnection2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITrackingServiceDef getTrackingService(String bstrName)
throws IOException,
AutomationException
getTrackingService in interface IServerConnection2bstrName - The bstrName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void returnTrackingService(ITrackingServiceDef piTrackingServiceDef)
throws IOException,
AutomationException
returnTrackingService in interface IServerConnection2piTrackingServiceDef - A reference to a com.esri.arcgis.trackinganalyst.ITrackingServiceDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getServerActions(boolean bForEditing)
throws IOException,
AutomationException
getServerActions in interface IServerConnection2bForEditing - The bForEditing (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void returnServerActions(boolean bSave,
Object piActionCollection)
throws IOException,
AutomationException
returnServerActions in interface IServerConnection2bSave - The bSave (in)piActionCollection - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addMessageDefinition(IDatasetDef piMessageDef)
throws IOException,
AutomationException
addMessageDefinition in interface ITxConnectorSetuppiMessageDef - A reference to a com.esri.arcgis.trackinganalyst.IDatasetDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addTrackingServiceDefinition(ITrackingServiceDef piServiceDef)
throws IOException,
AutomationException
addTrackingServiceDefinition in interface ITxConnectorSetuppiServiceDef - A reference to a com.esri.arcgis.trackinganalyst.ITrackingServiceDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean validateTrackingService(ITrackingServiceDef piServiceDef)
throws IOException,
AutomationException
validateTrackingService in interface ITxConnectorSetuppiServiceDef - A reference to a com.esri.arcgis.trackinganalyst.ITrackingServiceDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeTrackingServiceDef(String bstrServiceName)
throws IOException,
AutomationException
removeTrackingServiceDef in interface ITxConnectorSetupbstrServiceName - The bstrServiceName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeMessageDef(String bstrMessageDefinitionName)
throws IOException,
AutomationException
removeMessageDef in interface ITxConnectorSetupbstrMessageDefinitionName - The bstrMessageDefinitionName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addDebugMessage(String bstrMessage)
throws IOException,
AutomationException
addDebugMessage in interface ITxConnectorSetupbstrMessage - The bstrMessage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addDataMessage(IDataMessage piMessage)
throws IOException,
AutomationException
addDataMessage in interface ITxConnectorSetuppiMessage - A reference to a com.esri.arcgis.trackinganalyst.IDataMessage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getConnectionStatus()
throws IOException,
AutomationException
getConnectionStatus in interface ITxConnectorSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConnectionStatus(int peConnectionStatus)
throws IOException,
AutomationException
setConnectionStatus in interface ITxConnectorSetuppeConnectionStatus - A com.esri.arcgis.trackinganalyst.enumConnectionStatus constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getErrorCode()
throws IOException,
AutomationException
getErrorCode in interface ITxConnectorSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setErrorCode(int pdwLastErrorCode)
throws IOException,
AutomationException
setErrorCode in interface ITxConnectorSetuppdwLastErrorCode - The pdwLastErrorCode (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getErrorMessage()
throws IOException,
AutomationException
getErrorMessage in interface ITxConnectorSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setErrorMessage(String pbstrLastErrorMessage)
throws IOException,
AutomationException
setErrorMessage in interface ITxConnectorSetuppbstrLastErrorMessage - The pbstrLastErrorMessage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setParentByRef(Object rhs1)
throws IOException,
AutomationException
setParentByRef in interface ITxConnectorSetuprhs1 - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMessageCount()
throws IOException,
AutomationException
getMessageCount in interface ITxConnectionMessagesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getEventReadyHandle()
throws IOException,
AutomationException
getEventReadyHandle in interface ITxConnectionMessagesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMessage nextMessage()
throws IOException,
AutomationException
nextMessage in interface ITxConnectionMessagesIOException - 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 | ||||||||