| Package | Description |
|---|---|
| com.daveoxley.cbus | |
| com.daveoxley.cbus.events | |
| com.daveoxley.cbus.status |
| Modifier and Type | Method and Description |
|---|---|
static CGateSession |
CGateInterface.connect(java.net.InetAddress cgate_server,
int command_port,
int event_port,
int status_change_port)
Connect to a C-Gate server using the supplied cgate_server and cgate_port.
|
protected CGateSession |
CGateObject.getCGateSession() |
protected CGateSession |
CGateSession.getCGateSession() |
| Modifier and Type | Method and Description |
|---|---|
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. |
static Project |
Project.getProject(CGateSession cgate_session,
java.lang.String project_name)
Retrieve the Project Object for the specified project name.
|
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. |
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. |
| Constructor and Description |
|---|
CGateObject(CGateSession cgate_session) |
| Modifier and Type | Method and Description |
|---|---|
void |
DebugEventCallback.processEvent(CGateSession cgate_session,
int event_code,
java.util.GregorianCalendar event_time,
java.lang.String event) |
abstract void |
EventCallback.processEvent(CGateSession cgate_session,
int event_code,
java.util.GregorianCalendar event_time,
java.lang.String event) |
| Modifier and Type | Method and Description |
|---|---|
void |
DebugStatusChangeCallback.processStatusChange(CGateSession cgate_session,
java.lang.String status_change) |
abstract void |
StatusChangeCallback.processStatusChange(CGateSession cgate_session,
java.lang.String status_change) |