public class Group extends CGateObject implements java.lang.Comparable<Group>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Group o) |
Application |
getApplication() |
CGateObject |
getCGateObject(java.lang.String address) |
int |
getGroupID() |
protected java.lang.String |
getKey() |
int |
getLevel()
Issue a
get //PROJECT/NET_ID/GROUP_ID Level to the C-Gate server. |
java.lang.String |
getName() |
Network |
getNetwork() |
Response |
off()
Issue a
off //PROJECT/NET_ID/GROUP_ID to the C-Gate server. |
Response |
on()
Issue a
on //PROJECT/NET_ID/GROUP_ID to the C-Gate server. |
Response |
ramp(int level,
int seconds)
Issue a
ramp //PROJECT/NET_ID/GROUP_ID to the C-Gate server. |
Response |
terminateRamp(boolean force)
Issue a
terminate_ramp //PROJECT/NET_ID/GROUP_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(Group o)
compareTo in interface java.lang.Comparable<Group>public int getGroupID()
public Application getApplication()
public Network getNetwork()
public java.lang.String getName()
throws CGateException
CGateExceptionpublic Response on() throws CGateException
on //PROJECT/NET_ID/GROUP_ID to the C-Gate server.CGateExceptionpublic Response off() throws CGateException
off //PROJECT/NET_ID/GROUP_ID to the C-Gate server.CGateExceptionpublic Response ramp(int level, int seconds) throws CGateException
ramp //PROJECT/NET_ID/GROUP_ID to the C-Gate server.level - seconds - CGateExceptionpublic Response terminateRamp(boolean force) throws CGateException
terminate_ramp //PROJECT/NET_ID/GROUP_ID to the C-Gate server.force - CGateExceptionpublic int getLevel()
throws CGateException
get //PROJECT/NET_ID/GROUP_ID Level to the C-Gate server.CGateException