com.esri.arcgis.trackinganalyst
Class GeneralTrackingConnector

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.GeneralTrackingConnector
All Implemented Interfaces:
IConnectionPointContainer, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IConnectionStatistics, IServerConnection, IServerConnection2, ITxConnectionMessages, ITxConnectorSetup, ITxDiagnostics, java.io.Serializable

public class GeneralTrackingConnector
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITxDiagnostics, IServerConnection, IServerConnection2, ITxConnectorSetup, ITxConnectionMessages, IConnectionStatistics, ISupportErrorInfo, IConnectionPointContainer

COM Class 'GeneralTrackingConnector'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriTrackingAnalyst.olb'

Description 'Base Class for Tracking Workspace connector objects. This class is aggregated by the Tracking Workspace connector wizard.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITxDiagnostics
IID, IID1d5f7be7_f236_4042_a0b7_3156dc7661bf, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.IServerConnection
IID, IIDcc018a11_24fb_11d4_b34c_00104ba2abcc, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.IServerConnection2
IID, IIDf6e2800d_d512_46c1_b92c_d66c1c432a0b, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITxConnectorSetup
IID, IID9c199c51_f80a_4017_af4c_b25f3ecfd629, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITxConnectionMessages
IID, IID07e7567e_20bd_4a55_a9ae_a9acf1dfa2fc, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.IConnectionStatistics
IID, IID9de7ca3b_37d0_48b4_9a64_95d2372903d0, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy
 
Constructor Summary
GeneralTrackingConnector()
          Constructs a GeneralTrackingConnector using ArcGIS Engine.
GeneralTrackingConnector(java.lang.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(java.lang.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(java.lang.String bstrUserName, java.lang.String bstrPassword)
          Creates connection to the server.
 void disableDataDefinition(java.lang.String bstrDataDefinitionID)
          Disables data definition for the server connection.
 void disconnect()
          Disconnects connection from the server.
 void enableDataDefinition(java.lang.String bstrDataDefinitionID)
          Enables data definition for the server connection.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
 java.lang.String getActivityLog()
          Indicates error code value for the last Internet server connection.
static java.lang.String getClsid()
          getClsid.
 java.lang.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.
 java.lang.String getConnectionString()
          Connection string value for the server connection.
 java.lang.Object getCurrentDiscardedMessageCount()
          Indicates current number of messages discarded.
 IDatasetDef getDataSetDefinition(java.lang.String bstrName)
          Gets dataset definition information for the server connection.
 java.lang.Object getDataSetDefinitionList()
          Lists the dataset definition information for the connection.
 java.lang.Object getDiscardedMessageCount()
          Indicates total number of messages discarded.
 java.lang.Object getEnabledDataDefinitions()
          Indicates which data definitions are enabled.
 int getErrorCode()
          Error code of the last error.
 java.lang.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.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getLastConnectionErrorCode()
          Indicates error code value for the last Internet server connection.
 java.lang.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.
 java.lang.Object getPulledMessageCount()
          Indicates total number of messages pulled.
 java.lang.Object getQueuedMessageCount()
          Indicates total number of messages queued.
 java.lang.Object getReceivedMessageCount()
          Indicates total number of messages received.
 java.lang.Object getServerActions(boolean bForEditing)
          Actions used on data in the server connection.
 java.lang.String getServerName()
          Name for the server.
 ITrackingServiceDef getTrackingService(java.lang.String bstrName)
          Gets tracking service for the server connection.
 java.lang.Object getTrackingServicesList()
          List of tracking services.
 java.lang.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 release()
          Release a GeneralTrackingConnector.
 void remove_IPlugInEventsListener(_IPlugInEvents theListener)
          remove_IPlugInEventsListener.
 void removeMessageDef(java.lang.String bstrMessageDefinitionName)
          Removes a Message Definition from the collection.
 void removeTrackingServiceDef(java.lang.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, java.lang.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(java.lang.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(java.lang.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(java.lang.String pbstrLastErrorMessage)
          Message associated with last error / error code.
 void setParentByRef(java.lang.Object rhs1)
          Assign the parent object so this interface object can communicate with its parent.
 void setServerName(java.lang.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
 

Constructor Detail

GeneralTrackingConnector

public GeneralTrackingConnector()
                         throws java.io.IOException,
                                java.net.UnknownHostException
Constructs a GeneralTrackingConnector using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeneralTrackingConnector

public GeneralTrackingConnector(java.lang.Object obj)
                         throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeneralTrackingConnector theGeneralTrackingConnector = (GeneralTrackingConnector) obj;

Construct a GeneralTrackingConnector using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GeneralTrackingConnector.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

add_IPlugInEventsListener

public void add_IPlugInEventsListener(_IPlugInEvents theListener)
                               throws java.io.IOException
add_IPlugInEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.trackinganalyst._IPlugInEvents interface.
Throws:
java.io.IOException - If there are communications problems.

remove_IPlugInEventsListener

public void remove_IPlugInEventsListener(_IPlugInEvents theListener)
                                  throws java.io.IOException
remove_IPlugInEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.trackinganalyst._IPlugInEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a GeneralTrackingConnector.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getLastConnectionErrorCode

public int getLastConnectionErrorCode()
                               throws java.io.IOException,
                                      AutomationException
Indicates error code value for the last Internet server connection.

Specified by:
getLastConnectionErrorCode in interface IServerConnection
Specified by:
getLastConnectionErrorCode in interface ITxDiagnostics
Returns:
The pnErrorCode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLastConnectionErrorMessage

public java.lang.String getLastConnectionErrorMessage()
                                               throws java.io.IOException,
                                                      AutomationException
Indicates error code value for the last Internet server connection.

Specified by:
getLastConnectionErrorMessage in interface IServerConnection
Specified by:
getLastConnectionErrorMessage in interface ITxDiagnostics
Returns:
The pbstrErrorMessage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActivityLog

public java.lang.String getActivityLog()
                                throws java.io.IOException,
                                       AutomationException
Indicates error code value for the last Internet server connection.

Specified by:
getActivityLog in interface ITxDiagnostics
Returns:
The pbstrLog
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isConnected

public boolean isConnected()
                    throws java.io.IOException,
                           AutomationException
Indicates whether the server connection is connected.

Specified by:
isConnected in interface IServerConnection
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerName

public java.lang.String getServerName()
                               throws java.io.IOException,
                                      AutomationException
Name for the server.

Specified by:
getServerName in interface IServerConnection
Specified by:
getServerName in interface ITxConnectorSetup
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setServerName

public void setServerName(java.lang.String pVal)
                   throws java.io.IOException,
                          AutomationException
Name for the server.

Specified by:
setServerName in interface IServerConnection
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUserName

public java.lang.String getUserName()
                             throws java.io.IOException,
                                    AutomationException
User's login name.

Specified by:
getUserName in interface IServerConnection
Specified by:
getUserName in interface ITxConnectorSetup
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnableDataFiltering

public boolean isEnableDataFiltering()
                              throws java.io.IOException,
                                     AutomationException
Indicates whether data filtering is enabled for the connection.

Specified by:
isEnableDataFiltering in interface IServerConnection
Returns:
The pbvVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnableDataFiltering

public void setEnableDataFiltering(boolean pbvVal)
                            throws java.io.IOException,
                                   AutomationException
Indicates whether data filtering is enabled for the connection.

Specified by:
setEnableDataFiltering in interface IServerConnection
Parameters:
pbvVal - The pbvVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataSetDefinitionList

public java.lang.Object getDataSetDefinitionList()
                                          throws java.io.IOException,
                                                 AutomationException
Lists the dataset definition information for the connection.

Specified by:
getDataSetDefinitionList in interface IServerConnection
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnabledDataDefinitions

public java.lang.Object getEnabledDataDefinitions()
                                           throws java.io.IOException,
                                                  AutomationException
Indicates which data definitions are enabled.

Specified by:
getEnabledDataDefinitions in interface IServerConnection
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectionName

public java.lang.String getConnectionName()
                                   throws java.io.IOException,
                                          AutomationException
Indicates the name of the connection to the server.

Specified by:
getConnectionName in interface IServerConnection
Returns:
The pbstrConnectionName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionName

public void setConnectionName(java.lang.String pbstrConnectionName)
                       throws java.io.IOException,
                              AutomationException
Indicates the name of the connection to the server.

Specified by:
setConnectionName in interface IServerConnection
Parameters:
pbstrConnectionName - The pbstrConnectionName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectionString

public java.lang.String getConnectionString()
                                     throws java.io.IOException,
                                            AutomationException
Connection string value for the server connection.

Specified by:
getConnectionString in interface IServerConnection
Specified by:
getConnectionString in interface ITxConnectorSetup
Returns:
The pbstrConnectionString
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionString

public void setConnectionString(java.lang.String pbstrConnectionString)
                         throws java.io.IOException,
                                AutomationException
Connection string value for the server connection.

Specified by:
setConnectionString in interface IServerConnection
Parameters:
pbstrConnectionString - The pbstrConnectionString (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

connect

public void connect(java.lang.String bstrUserName,
                    java.lang.String bstrPassword)
             throws java.io.IOException,
                    AutomationException
Creates connection to the server.

Specified by:
connect in interface IServerConnection
Parameters:
bstrUserName - The bstrUserName (in)
bstrPassword - The bstrPassword (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

disconnect

public void disconnect()
                throws java.io.IOException,
                       AutomationException
Disconnects connection from the server.

Specified by:
disconnect in interface IServerConnection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sendMessage

public void sendMessage(IMessage piMessage)
                 throws java.io.IOException,
                        AutomationException
Sends a message through the server connection path.

Specified by:
sendMessage in interface IServerConnection
Parameters:
piMessage - A reference to a com.esri.arcgis.trackinganalyst.IMessage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessage

public IMessage getMessage(int nTimeOutInMilliseconds)
                    throws java.io.IOException,
                           AutomationException
Retrieves a message from the server connection.

Specified by:
getMessage in interface IServerConnection
Parameters:
nTimeOutInMilliseconds - The nTimeOutInMilliseconds (in)
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IMessage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enableDataDefinition

public void enableDataDefinition(java.lang.String bstrDataDefinitionID)
                          throws java.io.IOException,
                                 AutomationException
Enables data definition for the server connection.

Specified by:
enableDataDefinition in interface IServerConnection
Parameters:
bstrDataDefinitionID - The bstrDataDefinitionID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

disableDataDefinition

public void disableDataDefinition(java.lang.String bstrDataDefinitionID)
                           throws java.io.IOException,
                                  AutomationException
Disables data definition for the server connection.

Specified by:
disableDataDefinition in interface IServerConnection
Parameters:
bstrDataDefinitionID - The bstrDataDefinitionID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

returnDataSetDefinition

public void returnDataSetDefinition(IDatasetDef piDataSetDef)
                             throws java.io.IOException,
                                    AutomationException
Returns dataset definition information for the server connection.

Specified by:
returnDataSetDefinition in interface IServerConnection
Parameters:
piDataSetDef - A reference to a com.esri.arcgis.trackinganalyst.IDatasetDef (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataSetDefinition

public IDatasetDef getDataSetDefinition(java.lang.String bstrName)
                                 throws java.io.IOException,
                                        AutomationException
Gets dataset definition information for the server connection.

Specified by:
getDataSetDefinition in interface IServerConnection
Parameters:
bstrName - The bstrName (in)
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IDatasetDef
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sendCommand

public IResponseMessage sendCommand(ICommandMessage piCmdMsg,
                                    int nTimeOut)
                             throws java.io.IOException,
                                    AutomationException
Sends a command to the server connection.

Specified by:
sendCommand in interface IServerConnection
Parameters:
piCmdMsg - A reference to a com.esri.arcgis.trackinganalyst.ICommandMessage (in)
nTimeOut - The nTimeOut (in)
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IResponseMessage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectionProperties

public IPropSet getConnectionProperties()
                                 throws java.io.IOException,
                                        AutomationException
Properties for the server connection.

Specified by:
getConnectionProperties in interface IServerConnection2
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IPropSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionProperties

public void setConnectionProperties(IPropSet ppiProperties)
                             throws java.io.IOException,
                                    AutomationException
Properties for the server connection.

Specified by:
setConnectionProperties in interface IServerConnection2
Parameters:
ppiProperties - A reference to a com.esri.arcgis.trackinganalyst.IPropSet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPlugIn

public IPlugin getPlugIn()
                  throws java.io.IOException,
                         AutomationException
Data link plugin information for the server connection.

Specified by:
getPlugIn in interface IServerConnection2
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IPlugin
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrackingServicesList

public java.lang.Object getTrackingServicesList()
                                         throws java.io.IOException,
                                                AutomationException
List of tracking services.

Specified by:
getTrackingServicesList in interface IServerConnection2
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrackingService

public ITrackingServiceDef getTrackingService(java.lang.String bstrName)
                                       throws java.io.IOException,
                                              AutomationException
Gets tracking service for the server connection.

Specified by:
getTrackingService in interface IServerConnection2
Parameters:
bstrName - The bstrName (in)
Returns:
A reference to a com.esri.arcgis.geodatabaseextensions.ITrackingServiceDef
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

returnTrackingService

public void returnTrackingService(ITrackingServiceDef piTrackingServiceDef)
                           throws java.io.IOException,
                                  AutomationException
Returns tracking service for the server connection.

Specified by:
returnTrackingService in interface IServerConnection2
Parameters:
piTrackingServiceDef - A reference to a com.esri.arcgis.geodatabaseextensions.ITrackingServiceDef (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerActions

public java.lang.Object getServerActions(boolean bForEditing)
                                  throws java.io.IOException,
                                         AutomationException
Actions used on data in the server connection.

Specified by:
getServerActions in interface IServerConnection2
Parameters:
bForEditing - The bForEditing (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

returnServerActions

public void returnServerActions(boolean bSave,
                                java.lang.Object piActionCollection)
                         throws java.io.IOException,
                                AutomationException
Actions used on data in the server connection.

Specified by:
returnServerActions in interface IServerConnection2
Parameters:
bSave - The bSave (in)
piActionCollection - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMessageDefinition

public void addMessageDefinition(IDatasetDef piMessageDef)
                          throws java.io.IOException,
                                 AutomationException
Add a message definition to the collection.

Specified by:
addMessageDefinition in interface ITxConnectorSetup
Parameters:
piMessageDef - A reference to a com.esri.arcgis.trackinganalyst.IDatasetDef (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addTrackingServiceDefinition

public void addTrackingServiceDefinition(ITrackingServiceDef piServiceDef)
                                  throws java.io.IOException,
                                         AutomationException
Add a tracking service definition to the collection.

Specified by:
addTrackingServiceDefinition in interface ITxConnectorSetup
Parameters:
piServiceDef - A reference to a com.esri.arcgis.geodatabaseextensions.ITrackingServiceDef (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateTrackingService

public boolean validateTrackingService(ITrackingServiceDef piServiceDef)
                                throws java.io.IOException,
                                       AutomationException
Validate a tracking service within the tracking service collection.

Specified by:
validateTrackingService in interface ITxConnectorSetup
Parameters:
piServiceDef - A reference to a com.esri.arcgis.geodatabaseextensions.ITrackingServiceDef (in)
Returns:
The pbvarValid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeTrackingServiceDef

public void removeTrackingServiceDef(java.lang.String bstrServiceName)
                              throws java.io.IOException,
                                     AutomationException
Removes a Tracking Service Definition from the collection. A * will remove all Tracking Services.

Specified by:
removeTrackingServiceDef in interface ITxConnectorSetup
Parameters:
bstrServiceName - The bstrServiceName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeMessageDef

public void removeMessageDef(java.lang.String bstrMessageDefinitionName)
                      throws java.io.IOException,
                             AutomationException
Removes a Message Definition from the collection. A * will remove all Message definitions.

Specified by:
removeMessageDef in interface ITxConnectorSetup
Parameters:
bstrMessageDefinitionName - The bstrMessageDefinitionName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDebugMessage

public void addDebugMessage(java.lang.String bstrMessage)
                     throws java.io.IOException,
                            AutomationException
Add a Debug Message to the internal Debug log.

Specified by:
addDebugMessage in interface ITxConnectorSetup
Parameters:
bstrMessage - The bstrMessage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDataMessage

public void addDataMessage(IDataMessage piMessage)
                    throws java.io.IOException,
                           AutomationException
Add a Data Message to the Connectors Queue.

Specified by:
addDataMessage in interface ITxConnectorSetup
Parameters:
piMessage - A reference to a com.esri.arcgis.geodatabaseextensions.IDataMessage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectionStatus

public int getConnectionStatus()
                        throws java.io.IOException,
                               AutomationException
The Connection State of the object.

Specified by:
getConnectionStatus in interface ITxConnectorSetup
Returns:
A com.esri.arcgis.trackinganalyst.enumConnectionStatus constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionStatus

public void setConnectionStatus(int peConnectionStatus)
                         throws java.io.IOException,
                                AutomationException
The Connection State of the object.

Specified by:
setConnectionStatus in interface ITxConnectorSetup
Parameters:
peConnectionStatus - A com.esri.arcgis.trackinganalyst.enumConnectionStatus constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorCode

public int getErrorCode()
                 throws java.io.IOException,
                        AutomationException
Error code of the last error.

Specified by:
getErrorCode in interface ITxConnectorSetup
Returns:
The pdwLastErrorCode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorCode

public void setErrorCode(int pdwLastErrorCode)
                  throws java.io.IOException,
                         AutomationException
Error code of the last error.

Specified by:
setErrorCode in interface ITxConnectorSetup
Parameters:
pdwLastErrorCode - The pdwLastErrorCode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorMessage

public java.lang.String getErrorMessage()
                                 throws java.io.IOException,
                                        AutomationException
Message associated with last error / error code.

Specified by:
getErrorMessage in interface ITxConnectorSetup
Returns:
The pbstrLastErrorMessage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorMessage

public void setErrorMessage(java.lang.String pbstrLastErrorMessage)
                     throws java.io.IOException,
                            AutomationException
Message associated with last error / error code.

Specified by:
setErrorMessage in interface ITxConnectorSetup
Parameters:
pbstrLastErrorMessage - The pbstrLastErrorMessage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParentByRef

public void setParentByRef(java.lang.Object rhs1)
                    throws java.io.IOException,
                           AutomationException
Assign the parent object so this interface object can communicate with its parent.

Specified by:
setParentByRef in interface ITxConnectorSetup
Parameters:
rhs1 - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessageCount

public int getMessageCount()
                    throws java.io.IOException,
                           AutomationException
The count of messages ready to retrieve.

Specified by:
getMessageCount in interface ITxConnectionMessages
Returns:
The plNumberOfMessages
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEventReadyHandle

public int getEventReadyHandle()
                        throws java.io.IOException,
                               AutomationException
The handle to the event that is signaled when a message is ready to be received.

Specified by:
getEventReadyHandle in interface ITxConnectionMessages
Returns:
The phReadyEvent (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextMessage

public IMessage nextMessage()
                     throws java.io.IOException,
                            AutomationException
Retrieves a message from the server connection.

Specified by:
nextMessage in interface ITxConnectionMessages
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IMessage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReceivedMessageCount

public java.lang.Object getReceivedMessageCount()
                                         throws java.io.IOException,
                                                AutomationException
Indicates total number of messages received.

Specified by:
getReceivedMessageCount in interface IConnectionStatistics
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPulledMessageCount

public java.lang.Object getPulledMessageCount()
                                       throws java.io.IOException,
                                              AutomationException
Indicates total number of messages pulled.

Specified by:
getPulledMessageCount in interface IConnectionStatistics
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDiscardedMessageCount

public java.lang.Object getDiscardedMessageCount()
                                          throws java.io.IOException,
                                                 AutomationException
Indicates total number of messages discarded.

Specified by:
getDiscardedMessageCount in interface IConnectionStatistics
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentDiscardedMessageCount

public java.lang.Object getCurrentDiscardedMessageCount()
                                                 throws java.io.IOException,
                                                        AutomationException
Indicates current number of messages discarded.

Specified by:
getCurrentDiscardedMessageCount in interface IConnectionStatistics
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getQueuedMessageCount

public java.lang.Object getQueuedMessageCount()
                                       throws java.io.IOException,
                                              AutomationException
Indicates total number of messages queued.

Specified by:
getQueuedMessageCount in interface IConnectionStatistics
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws java.io.IOException,
                                 AutomationException
enumConnectionPoints

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws java.io.IOException,
                                AutomationException
findConnectionPoint

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - 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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.