|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public 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 IServerConnection
getLastConnectionErrorCode
in interface ITxDiagnostics
IOException
- 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 IServerConnection
getLastConnectionErrorMessage
in interface ITxDiagnostics
IOException
- 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 ITxDiagnostics
IOException
- 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 IServerConnection
IOException
- 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 IServerConnection
getServerName
in interface ITxConnectorSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setServerName(String pVal) throws IOException, AutomationException
setServerName
in interface IServerConnection
pVal
- 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 IServerConnection
getUserName
in interface ITxConnectorSetup
IOException
- 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 IServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableDataFiltering(boolean pbvVal) throws IOException, AutomationException
setEnableDataFiltering
in interface IServerConnection
pbvVal
- 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 IServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getEnabledDataDefinitions() throws IOException, AutomationException
getEnabledDataDefinitions
in interface IServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getConnectionName() throws IOException, AutomationException
getConnectionName
in interface IServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionName(String pbstrConnectionName) throws IOException, AutomationException
setConnectionName
in interface IServerConnection
pbstrConnectionName
- 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 IServerConnection
getConnectionString
in interface ITxConnectorSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionString(String pbstrConnectionString) throws IOException, AutomationException
setConnectionString
in interface IServerConnection
pbstrConnectionString
- 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 IServerConnection
bstrUserName
- 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 IServerConnection
IOException
- 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 IServerConnection
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.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 IServerConnection
nTimeOutInMilliseconds
- 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 IServerConnection
bstrDataDefinitionID
- 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 IServerConnection
bstrDataDefinitionID
- 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 IServerConnection
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.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 IServerConnection
bstrName
- 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 IServerConnection
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.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 IServerConnection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionProperties(IPropSet ppiProperties) throws IOException, AutomationException
setConnectionProperties
in interface IServerConnection2
ppiProperties
- 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 IServerConnection2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getTrackingServicesList() throws IOException, AutomationException
getTrackingServicesList
in interface IServerConnection2
IOException
- 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 IServerConnection2
bstrName
- 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 IServerConnection2
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.public Object getServerActions(boolean bForEditing) throws IOException, AutomationException
This method returns actions used on data in the server connection.
getServerActions
in interface IServerConnection2
bForEditing
- 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 IServerConnection2
bSave
- 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 ITxConnectorSetup
piMessageDef
- 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 ITxConnectorSetup
piServiceDef
- 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 ITxConnectorSetup
piServiceDef
- 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 ITxConnectorSetup
bstrServiceName
- 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 ITxConnectorSetup
bstrMessageDefinitionName
- 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 ITxConnectorSetup
bstrMessage
- 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 ITxConnectorSetup
piMessage
- 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 ITxConnectorSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionStatus(int peConnectionStatus) throws IOException, AutomationException
setConnectionStatus
in interface ITxConnectorSetup
peConnectionStatus
- 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 ITxConnectorSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setErrorCode(int pdwLastErrorCode) throws IOException, AutomationException
setErrorCode
in interface ITxConnectorSetup
pdwLastErrorCode
- 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 ITxConnectorSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setErrorMessage(String pbstrLastErrorMessage) throws IOException, AutomationException
setErrorMessage
in interface ITxConnectorSetup
pbstrLastErrorMessage
- 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 ITxConnectorSetup
rhs1
- 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 ITxConnectionMessages
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEventReadyHandle() throws IOException, AutomationException
getEventReadyHandle
in interface ITxConnectionMessages
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMessage nextMessage() throws IOException, AutomationException
nextMessage
in interface ITxConnectionMessages
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getReceivedMessageCount() throws IOException, AutomationException
getReceivedMessageCount
in interface IConnectionStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getPulledMessageCount() throws IOException, AutomationException
getPulledMessageCount
in interface IConnectionStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDiscardedMessageCount() throws IOException, AutomationException
getDiscardedMessageCount
in interface IConnectionStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getCurrentDiscardedMessageCount() throws IOException, AutomationException
getCurrentDiscardedMessageCount
in interface IConnectionStatistics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getQueuedMessageCount() throws IOException, AutomationException
getQueuedMessageCount
in interface IConnectionStatistics
IOException
- 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 ISupportErrorInfo
riid
- 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 IConnectionPointContainer
ppEnum
- 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 IConnectionPointContainer
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)
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 |