com.esri.arcgis.trackinganalyst
Interface IServerConnection2

All Superinterfaces:
Serializable
All Known Implementing Classes:
GeneralTrackingConnector, InternetConnection, ServerConnection

public interface IServerConnection2
extends Serializable

Provides access to the methods and properties for a connector object to connect to a Tracking Server.

Description

This interface provides access to the methods and properties for a connector object to connect to a Tracking Server. Use this interface to get server actions, tracking services and data link plugin.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.


Method Summary
 IPropSet getConnectionProperties()
          Properties for the server connection.
 IPlugin getPlugIn()
          Data link plugin information for the server connection.
 Object getServerActions(boolean bForEditing)
          Actions used on data in the server connection.
 ITrackingServiceDef getTrackingService(String bstrName)
          Gets tracking service for the server connection.
 Object getTrackingServicesList()
          List of tracking services.
 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.
 void setConnectionProperties(IPropSet ppiProperties)
          Properties for the server connection.
 

Method Detail

getConnectionProperties

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

Remarks

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Returns:
A reference to a com.esri.arcgis.trackinganalyst.IPropSet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConnectionProperties

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

getPlugIn

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Returns:
A reference to a com.esri.arcgis.trackinganalyst.IPlugin
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrackingServicesList

Object getTrackingServicesList()
                               throws IOException,
                                      AutomationException
List of tracking services.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrackingService

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

Description

This method returns tracking service for the server connection specified by bstrName.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Parameters:
bstrName - The bstrName (in)
Returns:
A reference to a com.esri.arcgis.trackinganalyst.ITrackingServiceDef
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

returnTrackingService

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

Remarks

This method is not implemented in the current version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Parameters:
piTrackingServiceDef - A reference to a com.esri.arcgis.trackinganalyst.ITrackingServiceDef (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServerActions

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

Description

This method returns actions used on data in the server connection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

returnServerActions

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

Remarks

This method is not implemented in the current version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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