|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.InternetConnection
public class InternetConnection
Manages an Internet server connection.
The Internet connector is the primary connection object between a Client, usually the AMSWorkspace component of the Tracking Analyst extension to ArcGIS, and the Tracking Server. This object maintains the information needed to communicate with the Tracking Server using the Tracking Message Server Gateway. This connector uses a proprietary gateway service, part of the Tracking Server product, to exchange messages with the Tracking Server.
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.
Property Name |
Required |
Default Value |
Description |
SERVERNAME |
O |
localhost |
Name of Server or IP |
AMS_CONNECTION_NAME |
O |
Tracking Connector |
The Name or label of the connection. |
CONNECTOR_PORT |
O |
5506 |
The Client port of the tracking server |
TMS_CMD_TIMEOUT |
O |
60 |
Command Response Timeout in seconds |
TMS_CONNECT_RETRY |
O |
60 |
The time in seconds that the connector waits before it automatically retries a dropped connection. |
Constructor Summary | |
---|---|
InternetConnection()
Constructs a InternetConnection using ArcGIS Engine. |
|
InternetConnection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. InternetConnection theInternetConnection = (InternetConnection) obj; |
Method Summary | |
---|---|
void |
add_IPlugInEventsListener(_IPlugInEvents theListener)
add_IPlugInEventsListener. |
void |
connect(String bstrUserName,
String bstrPassword)
Creates Internet server connection. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
void |
disableDataDefinition(String bstrDataDefinitionID)
Disables dataset definition for the Internet server connection. |
void |
disconnect()
Disconnects Internet server connection. |
void |
enableDataDefinition(String bstrDataDefinitionID)
Enables data definition for the Internet 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. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getConnectionName()
Name of Internet server connection. |
IPropSet |
getConnectionProperties()
Properties for the server connection. |
String |
getConnectionString()
Indicates connection string value. |
Object |
getCurrentDiscardedMessageCount()
Indicates current number of messages discarded. |
IDatasetDef |
getDataSetDefinition(String bstrName)
Gets value for dataset definition for Internet server connection. |
Object |
getDataSetDefinitionList()
Lists values in the dataset definition. |
Object |
getDiscardedMessageCount()
Indicates total number of messages discarded. |
Object |
getEnabledDataDefinitions()
Indicates whether data definitions are enabled for the Internet server connection. |
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)
Gets message via the Internet server connection. |
int |
getMessageCount()
The count of messages ready to retrieve. |
IPlugin |
getPlugIn()
Data link plugin information for the server connection. |
int |
getPortNumber()
Port number used for the Internet 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()
Indicates server name in the Internet server connection. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
String |
getSubletPath()
Value of the sublet path for the Internet server connection. |
String |
getTopicName(String bstrServiceName)
Indicates name for the topic in the Internet server connection. |
ITrackingServiceDef |
getTrackingService(String bstrName)
Gets tracking service information for the Internet server connection. |
Object |
getTrackingServicesList()
Lists tracking services within the Internet server connection. |
String |
getUserName()
Indicates user's name using the Internet server connection. |
int |
hashCode()
the hashcode for this object |
boolean |
isConnected()
Indicates whether the Internet server connection is active. |
void |
isDirty()
isDirty |
boolean |
isEnableDataFiltering()
Indicates whether data filtering is enabled for the Internet server connection. |
boolean |
isHasObjectData(String bstrTrackingService)
Indicates whether a tracking service has complex data to request. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
IMessage |
nextMessage()
Retrieves a message from the server connection. |
void |
onConnect()
Fires an OnConnect Event. |
void |
onDisconnect()
Fires an OnDisconnect Event. |
void |
onError()
Fires an OnError Event. |
void |
onMessage()
Fires an OnMessage Event. |
void |
readExternal(ObjectInput in)
|
void |
remove_IPlugInEventsListener(_IPlugInEvents theListener)
remove_IPlugInEventsListener. |
void |
requestObjectData(String bstrTrackingService)
Requests the Object or static data associated with a Complex Tracking Service. |
void |
returnDataSetDefinition(IDatasetDef piDataSetDef)
Returns value for dataset definition in Internet server connection. |
void |
returnServerActions(boolean bSave,
Object piActionCollection)
Actions used on data in the server connection. |
void |
returnTrackingService(ITrackingServiceDef piTrackingServiceDef)
Returns tracking service information for the Internet server connection. |
void |
save(IStream pstm,
int fClearDirty)
save |
IResponseMessage |
sendCommand(ICommandMessage piCmdMsg,
int nTimeOut)
Sends command information via the Internet server connection. |
void |
sendMessage(IMessage piMessage)
Sends message via the Internet server connection. |
void |
setConnectionName(String pbstrConnectionName)
Name of Internet server connection. |
void |
setConnectionProperties(IPropSet ppiProperties)
Properties for the server connection. |
void |
setConnectionString(String pbstrConnectionString)
Indicates connection string value. |
void |
setEnableDataFiltering(boolean pbvVal)
Indicates whether data filtering is enabled for the Internet server connection. |
void |
setPortNumber(int plPortNumber)
Port number used for the Internet server connection. |
void |
setServerName(String pVal)
Indicates server name in the Internet server connection. |
void |
setSubletPath(String pbstrSubletPath)
Value of the sublet path for the Internet server connection. |
void |
setTopicName(String bstrServiceName,
String pbstrTopicName)
Indicates name for the topic in the Internet server connection. |
void |
writeExternal(ObjectOutput out)
|
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 InternetConnection() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic InternetConnection(Object obj) throws IOException
InternetConnection theInternetConnection = (InternetConnection) obj;
obj
to InternetConnection
.
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 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 boolean isConnected() throws IOException, AutomationException
isConnected
in interface IInternetServerConnection
isConnected
in interface IServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getServerName() throws IOException, AutomationException
getServerName
in interface IInternetServerConnection
getServerName
in interface IServerConnection
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 IInternetServerConnection
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
getUserName
in interface IInternetServerConnection
getUserName
in interface IServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableDataFiltering() throws IOException, AutomationException
isEnableDataFiltering
in interface IInternetServerConnection
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 IInternetServerConnection
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
getDataSetDefinitionList
in interface IInternetServerConnection
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 IInternetServerConnection
getEnabledDataDefinitions
in interface IServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLastConnectionErrorCode() throws IOException, AutomationException
getLastConnectionErrorCode
in interface IInternetServerConnection
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 value for the last Internet server connection.
getLastConnectionErrorMessage
in interface IInternetServerConnection
getLastConnectionErrorMessage
in interface IServerConnection
getLastConnectionErrorMessage
in interface ITxDiagnostics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getConnectionName() throws IOException, AutomationException
getConnectionName
in interface IInternetServerConnection
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 IInternetServerConnection
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
getConnectionString
in interface IInternetServerConnection
getConnectionString
in interface IServerConnection
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 IInternetServerConnection
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
connect
in interface IInternetServerConnection
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
disconnect
in interface IInternetServerConnection
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
sendMessage
in interface IInternetServerConnection
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 IInternetServerConnection
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 IInternetServerConnection
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 IInternetServerConnection
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 does nothing in the current version.
returnDataSetDefinition
in interface IInternetServerConnection
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 IInternetServerConnection
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
sendCommand
in interface IInternetServerConnection
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 Object getTrackingServicesList() throws IOException, AutomationException
getTrackingServicesList
in interface IInternetServerConnection
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 gets message via the Internet server connection. The method times out after nTimeOutInMilliseconds if no message is received by the connection.
getTrackingService
in interface IInternetServerConnection
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 does nothing in the current version.
returnTrackingService
in interface IInternetServerConnection
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 String getSubletPath() throws IOException, AutomationException
getSubletPath
in interface IInternetServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubletPath(String pbstrSubletPath) throws IOException, AutomationException
setSubletPath
in interface IInternetServerConnection
pbstrSubletPath
- The pbstrSubletPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTopicName(String bstrServiceName) throws IOException, AutomationException
getTopicName
in interface IInternetServerConnection
bstrServiceName
- The bstrServiceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTopicName(String bstrServiceName, String pbstrTopicName) throws IOException, AutomationException
setTopicName
in interface IInternetServerConnection
bstrServiceName
- The bstrServiceName (in)pbstrTopicName
- The pbstrTopicName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPortNumber() throws IOException, AutomationException
getPortNumber
in interface IInternetServerConnection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPortNumber(int plPortNumber) throws IOException, AutomationException
setPortNumber
in interface IInternetServerConnection
plPortNumber
- The plPortNumber (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 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 boolean isHasObjectData(String bstrTrackingService) throws IOException, AutomationException
isHasObjectData
in interface ITrackingServiceComplexData
bstrTrackingService
- The bstrTrackingService (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void requestObjectData(String bstrTrackingService) throws IOException, AutomationException
requestObjectData
in interface ITrackingServiceComplexData
bstrTrackingService
- The bstrTrackingService (in)
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 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 getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDisconnect() throws IOException, AutomationException
onDisconnect
in interface IServerConnectionAdmin
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onConnect() throws IOException, AutomationException
onConnect
in interface IServerConnectionAdmin
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onMessage() throws IOException, AutomationException
onMessage
in interface IServerConnectionAdmin
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onError() throws IOException, AutomationException
onError
in interface IServerConnectionAdmin
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.public boolean isSupportedAtVersion(int docVersion) throws IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object convertToSupportedObject(int docVersion) throws IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |