| Package | Description |
|---|---|
| com.daveoxley.cbus |
| Modifier and Type | Class and Description |
|---|---|
class |
CGateConnectException |
class |
CGateNotConnectedException |
| Modifier and Type | Method and Description |
|---|---|
void |
CGateSession.close()
Issue a
quit to the C-Gate server and close the input and output stream
and the command_socket. |
void |
Project.close()
Issue a
project close project_name to the C-Gate server. |
Project |
Project.copy(java.lang.String target_project_name)
Issue a
project copy source project_name copy project_name to the C-Gate server. |
void |
Project.delete()
Issue a
project delete project_name to the C-Gate server. |
static java.util.ArrayList<Project> |
Project.dir(CGateSession cgate_session,
boolean cached_objects)
Issue a
project dir and project list to the
C-Gate server. |
Application |
Network.getApplication(int application_id)
Retrieve the Unit Object for the specified unit id.
|
java.util.ArrayList<Application> |
Network.getApplications(boolean cached_objects)
Get all Application objects for this Network.
|
CGateObject |
Application.getCGateObject(java.lang.String address) |
CGateObject |
CGateInterface.getCGateObject(java.lang.String address) |
abstract CGateObject |
CGateObject.getCGateObject(java.lang.String address) |
CGateObject |
CGateSession.getCGateObject(java.lang.String address) |
CGateObject |
Group.getCGateObject(java.lang.String address) |
CGateObject |
Network.getCGateObject(java.lang.String address) |
CGateObject |
Project.getCGateObject(java.lang.String address) |
CGateObject |
Unit.getCGateObject(java.lang.String address) |
java.lang.String |
Application.getDescription() |
java.lang.String |
Unit.getFirmware() |
Group |
Application.getGroup(int group_id)
Retrieve the Group Object for the specified group id.
|
java.util.ArrayList<Group> |
Application.getGroups(boolean cached_objects) |
java.lang.String |
Network.getInterfaceAddress() |
int |
Group.getLevel()
Issue a
get //PROJECT/NET_ID/GROUP_ID Level to the C-Gate server. |
java.lang.String |
Application.getName() |
java.lang.String |
Group.getName() |
java.lang.String |
Network.getName() |
java.lang.String |
Unit.getName() |
Network |
Project.getNetwork(int network_id)
Retrieve the Network Object for the specified network id.
|
java.util.ArrayList<Network> |
Project.getNetworks(boolean cached_objects)
Get all Network objects for this Project.
|
static Project |
Project.getProject(CGateSession cgate_session,
java.lang.String project_name)
Retrieve the Project Object for the specified project name.
|
java.lang.String |
Unit.getSerialNumber() |
java.lang.String |
Network.getState() |
java.lang.String |
Network.getType() |
Unit |
Network.getUnit(int unit_id)
Retrieve the Unit Object for the specified unit id.
|
java.lang.String |
Unit.getUnitName() |
java.util.ArrayList<Unit> |
Network.getUnits(boolean cached_objects) |
java.lang.String |
Unit.getUnitType() |
void |
Response.handle200() |
static java.util.ArrayList<Project> |
Project.list(CGateSession cgate_session,
boolean cached_objects)
Issue a
project dir to the C-Gate server. |
static java.util.ArrayList<Network> |
Network.listAll(CGateSession cgate_session,
boolean cached_objects)
Issue a
net list_all to the C-Gate server. |
void |
Project.load()
Issue a
project load project_name to the C-Gate server. |
static Project |
Project.newProject(CGateSession cgate_session,
java.lang.String project_name)
Issue a
project new project_name to the C-Gate server. |
static void |
CGateInterface.noop(CGateSession cgate_session)
Issue a
noop to the C-Gate server. |
Response |
Group.off()
Issue a
off //PROJECT/NET_ID/GROUP_ID to the C-Gate server. |
Response |
Group.on()
Issue a
on //PROJECT/NET_ID/GROUP_ID to the C-Gate server. |
void |
Network.open()
Issue a
net open //PROJECT/NET_ID to the C-Gate server. |
Response |
Group.ramp(int level,
int seconds)
Issue a
ramp //PROJECT/NET_ID/GROUP_ID to the C-Gate server. |
void |
Project.save()
Issue a
project save project_name to the C-Gate server. |
void |
Project.start()
Issue a
project start project_name to the C-Gate server. |
Response |
Group.terminateRamp(boolean force)
Issue a
terminate_ramp //PROJECT/NET_ID/GROUP_ID to the C-Gate server. |