|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.ServerConnection
public class ServerConnection
COM Class 'ServerConnection'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriTrackingAnalyst.olb'
Description 'Manages connection to Tracking Server.' 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 =
Field Summary | |
---|---|
static long |
serialVersionUID
|
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.ITxConnectionMessages |
---|
IID, IID07e7567e_20bd_4a55_a9ae_a9acf1dfa2fc, xxDummy |
Fields inherited from interface com.esri.arcgis.trackinganalyst.IMarshal |
---|
IID, IID00000003_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Fields inherited from interface com.esri.arcgis.trackinganalyst.IConnectionStatistics |
---|
IID, IID9de7ca3b_37d0_48b4_9a64_95d2372903d0, xxDummy |
Constructor Summary | |
---|---|
ServerConnection()
Constructs a ServerConnection using ArcGIS Engine. |
|
ServerConnection(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ServerConnection theServerConnection = (ServerConnection) obj; |
Method Summary | |
---|---|
void |
add_IPlugInEventsListener(_IPlugInEvents theListener)
add_IPlugInEventsListener. |
void |
connect(java.lang.String bstrUserName,
java.lang.String bstrPassword)
Creates connection to the server. |
java.lang.Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
void |
disableDataDefinition(java.lang.String bstrDataDefinitionID)
Disables data definition for the server connection. |
void |
disconnect()
Disconnects connection from the server. |
void |
disconnectObject(int dwReserved)
disconnectObject |
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 |
void |
getClassID(GUID[] pClassID)
getClassID |
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. |
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 |
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 the error code for the last connection to the server. |
java.lang.String |
getLastConnectionErrorMessage()
Indicates the error message for the last connection to the server. |
void |
getMarshalSizeMax(GUID riid,
int pv,
int dwDestContext,
int pvDestContext,
int mshlflags,
int[] pSize)
getMarshalSizeMax |
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. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ITrackingServiceDef |
getTrackingService(java.lang.String bstrName)
Gets tracking service for the server connection. |
java.lang.Object |
getTrackingServicesList()
List of tracking services. |
void |
getUnmarshalClass(GUID riid,
int pv,
int dwDestContext,
int pvDestContext,
int mshlflags,
GUID[] pCid)
getUnmarshalClass |
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. |
void |
isDirty()
isDirty |
boolean |
isEnableDataFiltering()
Indicates whether data filtering is enabled for the connection. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
void |
marshalInterface(IStream pStm,
GUID riid,
int pv,
int dwDestContext,
int pvDestContext,
int mshlflags)
marshalInterface |
IMessage |
nextMessage()
Retrieves a message from the server connection. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a ServerConnection. |
void |
releaseMarshalData(IStream pStm)
releaseMarshalData |
void |
remove_IPlugInEventsListener(_IPlugInEvents theListener)
remove_IPlugInEventsListener. |
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. |
void |
save(IStream pstm,
int fClearDirty)
save |
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 |
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 |
setServerName(java.lang.String pVal)
Name for the server. |
void |
unmarshalInterface(IStream pStm,
GUID riid,
int ppv)
unmarshalInterface |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public ServerConnection() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic ServerConnection(java.lang.Object obj) throws java.io.IOException
ServerConnection theServerConnection = (ServerConnection) obj;
obj
to ServerConnection
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void add_IPlugInEventsListener(_IPlugInEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.trackinganalyst._IPlugInEvents interface.
java.io.IOException
- If there are communications problems.public void remove_IPlugInEventsListener(_IPlugInEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.trackinganalyst._IPlugInEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public boolean isConnected() throws java.io.IOException, AutomationException
isConnected
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getServerName() throws java.io.IOException, AutomationException
getServerName
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setServerName(java.lang.String pVal) throws java.io.IOException, AutomationException
setServerName
in interface IServerConnection
pVal
- The pVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getUserName() throws java.io.IOException, AutomationException
getUserName
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableDataFiltering() throws java.io.IOException, AutomationException
isEnableDataFiltering
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableDataFiltering(boolean pbvVal) throws java.io.IOException, AutomationException
setEnableDataFiltering
in interface IServerConnection
pbvVal
- The pbvVal (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDataSetDefinitionList() throws java.io.IOException, AutomationException
getDataSetDefinitionList
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getEnabledDataDefinitions() throws java.io.IOException, AutomationException
getEnabledDataDefinitions
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLastConnectionErrorCode() throws java.io.IOException, AutomationException
getLastConnectionErrorCode
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLastConnectionErrorMessage() throws java.io.IOException, AutomationException
getLastConnectionErrorMessage
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getConnectionName() throws java.io.IOException, AutomationException
getConnectionName
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionName(java.lang.String pbstrConnectionName) throws java.io.IOException, AutomationException
setConnectionName
in interface IServerConnection
pbstrConnectionName
- The pbstrConnectionName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getConnectionString() throws java.io.IOException, AutomationException
getConnectionString
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionString(java.lang.String pbstrConnectionString) throws java.io.IOException, AutomationException
setConnectionString
in interface IServerConnection
pbstrConnectionString
- The pbstrConnectionString (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void connect(java.lang.String bstrUserName, java.lang.String bstrPassword) throws java.io.IOException, AutomationException
connect
in interface IServerConnection
bstrUserName
- The bstrUserName (in)bstrPassword
- The bstrPassword (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disconnect() throws java.io.IOException, AutomationException
disconnect
in interface IServerConnection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void sendMessage(IMessage piMessage) throws java.io.IOException, AutomationException
sendMessage
in interface IServerConnection
piMessage
- A reference to a com.esri.arcgis.trackinganalyst.IMessage (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMessage getMessage(int nTimeOutInMilliseconds) throws java.io.IOException, AutomationException
getMessage
in interface IServerConnection
nTimeOutInMilliseconds
- The nTimeOutInMilliseconds (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enableDataDefinition(java.lang.String bstrDataDefinitionID) throws java.io.IOException, AutomationException
enableDataDefinition
in interface IServerConnection
bstrDataDefinitionID
- The bstrDataDefinitionID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disableDataDefinition(java.lang.String bstrDataDefinitionID) throws java.io.IOException, AutomationException
disableDataDefinition
in interface IServerConnection
bstrDataDefinitionID
- The bstrDataDefinitionID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void returnDataSetDefinition(IDatasetDef piDataSetDef) throws java.io.IOException, AutomationException
returnDataSetDefinition
in interface IServerConnection
piDataSetDef
- A reference to a com.esri.arcgis.trackinganalyst.IDatasetDef (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDatasetDef getDataSetDefinition(java.lang.String bstrName) throws java.io.IOException, AutomationException
getDataSetDefinition
in interface IServerConnection
bstrName
- The bstrName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IResponseMessage sendCommand(ICommandMessage piCmdMsg, int nTimeOut) throws java.io.IOException, AutomationException
sendCommand
in interface IServerConnection
piCmdMsg
- A reference to a com.esri.arcgis.trackinganalyst.ICommandMessage (in)nTimeOut
- The nTimeOut (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropSet getConnectionProperties() throws java.io.IOException, AutomationException
getConnectionProperties
in interface IServerConnection2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionProperties(IPropSet ppiProperties) throws java.io.IOException, AutomationException
setConnectionProperties
in interface IServerConnection2
ppiProperties
- A reference to a com.esri.arcgis.trackinganalyst.IPropSet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPlugin getPlugIn() throws java.io.IOException, AutomationException
getPlugIn
in interface IServerConnection2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getTrackingServicesList() throws java.io.IOException, AutomationException
getTrackingServicesList
in interface IServerConnection2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITrackingServiceDef getTrackingService(java.lang.String bstrName) throws java.io.IOException, AutomationException
getTrackingService
in interface IServerConnection2
bstrName
- The bstrName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void returnTrackingService(ITrackingServiceDef piTrackingServiceDef) throws java.io.IOException, AutomationException
returnTrackingService
in interface IServerConnection2
piTrackingServiceDef
- A reference to a com.esri.arcgis.geodatabaseextensions.ITrackingServiceDef (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getServerActions(boolean bForEditing) throws java.io.IOException, AutomationException
getServerActions
in interface IServerConnection2
bForEditing
- The bForEditing (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void returnServerActions(boolean bSave, java.lang.Object piActionCollection) throws java.io.IOException, AutomationException
returnServerActions
in interface IServerConnection2
bSave
- The bSave (in)piActionCollection
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMessageCount() throws java.io.IOException, AutomationException
getMessageCount
in interface ITxConnectionMessages
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getEventReadyHandle() throws java.io.IOException, AutomationException
getEventReadyHandle
in interface ITxConnectionMessages
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMessage nextMessage() throws java.io.IOException, AutomationException
nextMessage
in interface ITxConnectionMessages
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getUnmarshalClass(GUID riid, int pv, int dwDestContext, int pvDestContext, int mshlflags, GUID[] pCid) throws java.io.IOException, AutomationException
getUnmarshalClass
in interface IMarshal
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)pv
- A COM void* (in)dwDestContext
- The dwDestContext (in)pvDestContext
- A COM void* (in)mshlflags
- The mshlflags (in)pCid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getMarshalSizeMax(GUID riid, int pv, int dwDestContext, int pvDestContext, int mshlflags, int[] pSize) throws java.io.IOException, AutomationException
getMarshalSizeMax
in interface IMarshal
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)pv
- A COM void* (in)dwDestContext
- The dwDestContext (in)pvDestContext
- A COM void* (in)mshlflags
- The mshlflags (in)pSize
- The pSize (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void marshalInterface(IStream pStm, GUID riid, int pv, int dwDestContext, int pvDestContext, int mshlflags) throws java.io.IOException, AutomationException
marshalInterface
in interface IMarshal
pStm
- A reference to a com.esri.arcgis.system.IStream (in)riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)pv
- A COM void* (in)dwDestContext
- The dwDestContext (in)pvDestContext
- A COM void* (in)mshlflags
- The mshlflags (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unmarshalInterface(IStream pStm, GUID riid, int ppv) throws java.io.IOException, AutomationException
unmarshalInterface
in interface IMarshal
pStm
- A reference to a com.esri.arcgis.system.IStream (in)riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppv
- A COM void* (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void releaseMarshalData(IStream pStm) throws java.io.IOException, AutomationException
releaseMarshalData
in interface IMarshal
pStm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disconnectObject(int dwReserved) throws java.io.IOException, AutomationException
disconnectObject
in interface IMarshal
dwReserved
- The dwReserved (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object convertToSupportedObject(int docVersion) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getReceivedMessageCount() throws java.io.IOException, AutomationException
getReceivedMessageCount
in interface IConnectionStatistics
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getPulledMessageCount() throws java.io.IOException, AutomationException
getPulledMessageCount
in interface IConnectionStatistics
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getDiscardedMessageCount() throws java.io.IOException, AutomationException
getDiscardedMessageCount
in interface IConnectionStatistics
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCurrentDiscardedMessageCount() throws java.io.IOException, AutomationException
getCurrentDiscardedMessageCount
in interface IConnectionStatistics
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getQueuedMessageCount() throws java.io.IOException, AutomationException
getQueuedMessageCount
in interface IConnectionStatistics
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |