com.esri.arcgis.datasourcesfile
Class ISMNetBarriersCollectionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.ISMNetBarriersCollectionProxy
All Implemented Interfaces:
ISMNetBarriersCollection, Externalizable, Serializable

public class ISMNetBarriersCollectionProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMNetBarriersCollection, Serializable

Provides access to the collection of network barriers.

Description

Represents the collection of network barriers.

Remarks

Note: Barriers are bound to the network and should not be confused with a stop or stop collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  ISMNetBarriersCollectionProxy()
           
  ISMNetBarriersCollectionProxy(Object obj)
           
protected ISMNetBarriersCollectionProxy(Object obj, String iid)
           
 
Method Summary
 void add(ISMNetBarrier pItem)
          Adds a barrier to the collection.
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void clear()
          Removes all barriers from the collection.
 void readExternal(ObjectInput in)
           
 void remove(int lID)
          Removes a barrier with a specified ID from the collection.
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISMNetBarriersCollectionProxy

public ISMNetBarriersCollectionProxy()

ISMNetBarriersCollectionProxy

public ISMNetBarriersCollectionProxy(Object obj)
                              throws IOException
Throws:
IOException

ISMNetBarriersCollectionProxy

protected ISMNetBarriersCollectionProxy(Object obj,
                                        String iid)
                                 throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

add

public void add(ISMNetBarrier pItem)
         throws IOException,
                AutomationException
Adds a barrier to the collection.

Description

Adds the network barrier to the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
add in interface ISMNetBarriersCollection
Parameters:
pItem - A reference to a com.esri.arcgis.datasourcesfile.ISMNetBarrier (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int lID)
            throws IOException,
                   AutomationException
Removes a barrier with a specified ID from the collection.

Description

Removes the network barrier from the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

clear

public void clear()
           throws IOException,
                  AutomationException
Removes all barriers from the collection.

Description

Removes all barriers from the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException