|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.admin.SdeConnections
public class SdeConnections
Contains information on current gsrvr
(Application
Server) connections to an ArcSDE application server instance.
Constructor Summary | |
---|---|
SdeConnections()
Constructs an instance of a SdeConnections object. |
|
SdeConnections(ConnectionProxy connection,
SdeServer sdeserver)
Constructs a SdeConnections object and populates the
current ArcSDE connections to the given ArcSDE application server. |
Method Summary | |
---|---|
void |
addConnection(SdeConnection connection)
Adds the given ArcSDE connection to the SdeConnections object. |
SdeConnection |
getSdeConnection(int index)
Returns the ArcSDE connection at given index. |
int |
size()
Returns the size of this collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SdeConnections()
SdeConnections
object.
public SdeConnections(ConnectionProxy connection, SdeServer sdeserver) throws ConnectionParameterException, AuthenticationException, com.esri.aims.mtier.io.http.UnableToPingEsrimapException, com.esri.aims.mtier.model.axl.ErrorAndWarningException
SdeConnections
object and populates the
current ArcSDE connections to the given ArcSDE application server.
connection
- a ConnectionProxy objectsdeserver
- a SdeServer object
ConnectionParameterException
AuthenticationException
com.esri.aims.mtier.io.http.UnableToPingEsrimapException
com.esri.aims.mtier.model.axl.ErrorAndWarningException
Method Detail |
---|
public SdeConnection getSdeConnection(int index)
SdeConnections
class is as shown below:
SdeConnections cnns=new SdeConnections();
cnns.getSdeConnections(connectionproxy,sdeserver);
for (int i=0;i++,i<=cnns.size()) {
SdeConnection cnn=cnns.getSdeConnection(i);
System.out.println(cnn.getNode());
System.out.println(cnn.getPid());
}
public void addConnection(SdeConnection connection)
SdeConnections
object.
connection
- the SdeConnection object to be addedpublic int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |