com.esri.arcgis.arcmapui
Class GNetExtension

java.lang.Object
  extended by com.esri.arcgis.arcmapui.GNetExtension
All Implemented Interfaces:
IGNetExtension, com.esri.arcgis.interop.RemoteObjRef, IExtension, Serializable

public class GNetExtension
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IExtension, IGNetExtension

GNet Extension.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IExtension
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
 
Constructor Summary
GNetExtension()
          Constructs a GNetExtension using ArcGIS Engine.
GNetExtension(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GNetExtension theGNetExtension = (GNetExtension) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getName()
          The name of the extension.
 int hashCode()
          the hashcode for this object
 void showWindow(boolean show)
          Shows/hides the GNet dialog.
 void shutdown()
          Shuts down the extension.
 void startup(Object initializationData)
          Starts up the extension with the given initialization data.
 
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

GNetExtension

public GNetExtension()
              throws IOException,
                     UnknownHostException
Constructs a GNetExtension using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GNetExtension

public GNetExtension(Object obj)
              throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GNetExtension theGNetExtension = (GNetExtension) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the extension.

Specified by:
getName in interface IExtension
Returns:
The extensionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startup

public void startup(Object initializationData)
             throws IOException,
                    AutomationException
Starts up the extension with the given initialization data.

Specified by:
startup in interface IExtension
Parameters:
initializationData - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws IOException,
                     AutomationException
Shuts down the extension.

Specified by:
shutdown in interface IExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

showWindow

public void showWindow(boolean show)
                throws IOException,
                       AutomationException
Shows/hides the GNet dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
showWindow in interface IGNetExtension
Parameters:
show - The show (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.