|
|||||||||
| 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 |
add_IPlugInEventsListener(_IPlugInEvents theListener)
add_IPlugInEventsListener. |
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. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
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. |
Object |
getCurrentDiscardedMessageCount()
Indicates current number of messages discarded. |
IDatasetDef |
getDataSetDefinition(String bstrName)
Gets dataset definition information for the server connection. |
Object |
getDataSetDefinitionList()
Lists the dataset definition information for the connection. |
Object |
getDiscardedMessageCount()
Indicates total number of messages discarded. |
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 |
getPulledMessageCount()
Indicates total number of messages pulled. |
Object |
getQueuedMessageCount()
Indicates total number of messages queued. |
Object |
getReceivedMessageCount()
Indicates total number of messages received. |
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 |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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 |
remove_IPlugInEventsListener(_IPlugInEvents theListener)
remove_IPlugInEventsListener. |
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 void add_IPlugInEventsListener(_IPlugInEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.trackinganalyst._IPlugInEvents interface.
IOException - If there are communications problems.
public void remove_IPlugInEventsListener(_IPlugInEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.trackinganalyst._IPlugInEvents interface.
IOException - If there are communications problems.
public int getLastConnectionErrorCode()
throws IOException,
AutomationException
This property indicates error code value for the last internet server connection.
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
This property indicates error message for the last internet server connection.
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
This property indicates the activity log for the internet server connection.
getActivityLog in interface ITxDiagnosticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isConnected()
throws IOException,
AutomationException
This property indicates whether the Internet server connection is active.
isConnected in interface IServerConnectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getServerName()
throws IOException,
AutomationException
This property indicates server name in the Internet server connection.
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
This property indicates user's name using the Internet server connection.
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
This property indicates whether data filtering is enabled for the Internet server connection.
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
This property lists values in the dataset definition.
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
Not implemented in the current release.
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
This method creates Internet server connection.
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
This method disconnects the internet server connection.
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
This method is not implemented in the current version.
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
This method gets message via the Internet server connection. The method times out after nTimeOutInMilliseconds if no message is received by the connection.
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
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.
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
This method disables a dataset definition for the internet server connection specified by bstrDataDefinitionID. bstrDataDefinitionID is the key to the dataset to be disabled.
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
This method returns value for dataset definition in Internet server connection.
This method does nothing in the current version.
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
This method gets value for dataset definition for Internet server connection specified by bstrName.
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
This method is not implemented in the current version.
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
The internet Connector uses the connection properties to manage all user modifiable features of the connector. Below summarizes the properties, their defaults and descriptions. The Internet Connector will default any property that is not present when setting the connection properties.
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
This method returns tracking service for the server connection specified by bstrName.
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
This method is not implemented in the current version.
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
This method returns actions used on data in the server connection.
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
This method is not implemented in the current version.
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.
public Object getReceivedMessageCount()
throws IOException,
AutomationException
getReceivedMessageCount in interface IConnectionStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getPulledMessageCount()
throws IOException,
AutomationException
getPulledMessageCount in interface IConnectionStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getDiscardedMessageCount()
throws IOException,
AutomationException
getDiscardedMessageCount in interface IConnectionStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCurrentDiscardedMessageCount()
throws IOException,
AutomationException
getCurrentDiscardedMessageCount in interface IConnectionStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getQueuedMessageCount()
throws IOException,
AutomationException
getQueuedMessageCount in interface IConnectionStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint in interface IConnectionPointContainerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
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 | ||||||||