public final class Network extends CGateObject implements java.lang.Comparable<Network>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Network o) |
Application |
getApplication(int application_id)
Retrieve the Unit Object for the specified unit id.
|
java.util.ArrayList<Application> |
getApplications(boolean cached_objects)
Get all Application objects for this Network.
|
CGateObject |
getCGateObject(java.lang.String address) |
java.lang.String |
getInterfaceAddress() |
protected java.lang.String |
getKey() |
java.lang.String |
getName() |
int |
getNetworkID() |
Project |
getProject() |
java.lang.String |
getProjectName() |
java.lang.String |
getState() |
java.lang.String |
getType() |
Unit |
getUnit(int unit_id)
Retrieve the Unit Object for the specified unit id.
|
java.util.ArrayList<Unit> |
getUnits(boolean cached_objects) |
static java.util.ArrayList<Network> |
listAll(CGateSession cgate_session,
boolean cached_objects)
Issue a
net list_all to the C-Gate server. |
void |
open()
Issue a
net open //PROJECT/NET_ID to the C-Gate server. |
cacheObject, clearCache, clearCache, getAddress, getAllCachedObjects, getCachedObject, getCGateSession, setupSubtreeCache, uncacheObjectprotected java.lang.String getKey()
getKey in class CGateObjectpublic CGateObject getCGateObject(java.lang.String address) throws CGateException
getCGateObject in class CGateObjectCGateExceptionpublic int compareTo(Network o)
compareTo in interface java.lang.Comparable<Network>public static java.util.ArrayList<Network> listAll(CGateSession cgate_session, boolean cached_objects) throws CGateException
net list_all to the C-Gate server.cgate_session - The C-Gate sessioncached_objects - Return cached Project objects or rebuild list from C-GateCGateExceptionpublic Application getApplication(int application_id) throws CGateException
unit_id - The unit to retrieveCGateExceptionpublic Unit getUnit(int unit_id) throws CGateException
unit_id - The unit to retrieveCGateExceptionpublic int getNetworkID()
public Project getProject()
public java.lang.String getProjectName()
public java.lang.String getName()
throws CGateException
CGateExceptionpublic java.lang.String getType()
throws CGateException
CGateExceptionpublic java.lang.String getInterfaceAddress()
throws CGateException
CGateExceptionpublic java.lang.String getState()
throws CGateException
CGateExceptionpublic java.util.ArrayList<Unit> getUnits(boolean cached_objects) throws CGateException
CGateExceptionpublic void open()
throws CGateException
net open //PROJECT/NET_ID to the C-Gate server.CGateExceptionpublic java.util.ArrayList<Application> getApplications(boolean cached_objects) throws CGateException
cached_objects - Return cached Project objects or rebuild list from C-GateCGateException