gclib 2.1.20
Galil Communications Library
All Classes Files Functions Variables Typedefs Macros Modules Pages
Galil Connect

Host or connect to a remote gcaps instance. More...

Functions

void gclibjava.GclibJava.GSetServer (String server_name) throws GclibJavaException
 Connects gclib to a new gcaps server.
 
String gclibjava.GclibJava.GServerStatus () throws GclibJavaException
 Retrieves the name of your local gcaps server and whether or not it is currently published Retrieves a list of gcaps servers that are advertising themselves on the local network.
 
String gclibjava.GclibJava.GListServers () throws GclibJavaException
 Retrieves a list of gcaps servers that are advertising themselves on the local network.
 
void gclibjava.GclibJava.GPublishServer (String server_name, int publish, int save) throws GclibJavaException
 Publishes or removes local gcaps server from the network.
 
String gclibjava.GclibJava.GRemoteConnections () throws GclibJavaException
 Returns a list of IP Addresses that currently have an open connection to your hardware.
 

Function Documentation

◆ GSetServer()

void gclibjava.GclibJava.GSetServer ( String server_name) throws GclibJavaException
inline

Connects gclib to a new gcaps server.

Parameters
server_nameName to publish server under.
Exceptions
GclibJavaExceptionIf an error is generated by gclib.

Definition at line 592 of file GclibJava.java.

◆ GServerStatus()

String gclibjava.GclibJava.GServerStatus ( ) throws GclibJavaException
inline

Retrieves the name of your local gcaps server and whether or not it is currently published Retrieves a list of gcaps servers that are advertising themselves on the local network.

Returns
A string in the form "<server_name>, <isPublished>"
Exceptions
GclibJavaExceptionIf an error is generated by gclib.

Definition at line 605 of file GclibJava.java.

◆ GListServers()

String gclibjava.GclibJava.GListServers ( ) throws GclibJavaException
inline

Retrieves a list of gcaps servers that are advertising themselves on the local network.

Returns
A list of available gcaps server names.
Exceptions
GclibJavaExceptionIf an error is generated by gclib.

Definition at line 618 of file GclibJava.java.

◆ GPublishServer()

void gclibjava.GclibJava.GPublishServer ( String server_name,
int publish,
int save ) throws GclibJavaException
inline

Publishes or removes local gcaps server from the network.

Parameters
server_nameName to publish server under.
publishTrue=publish server, False=remove server.
saveSave this configuration for future server reboots.
Exceptions
GclibJavaExceptionIf an error is generated by gclib.

Definition at line 633 of file GclibJava.java.

◆ GRemoteConnections()

String gclibjava.GclibJava.GRemoteConnections ( ) throws GclibJavaException
inline

Returns a list of IP Addresses that currently have an open connection to your hardware.

Returns
a list of IP Addresses that currently have an open connection to your hardware.
Exceptions
GclibJavaExceptionIf an error is generated by gclib.

Definition at line 645 of file GclibJava.java.