Program Structure

Examples

Programming examples are included on the installation media. When you install Rendezvous software, these examples appear in the directory src/examples/configapi.

We encourage you to examine these programs before writing your own programs.

Structure

The basic structure of programs follows these steps:

Procedure 

1. Define subclasses of javax.net.ssl.HostnameVerifier and javax.net.ssl.X509TrustManager to specify the security behavior of your program.
2. Create an instance of DaemonManager.

The constructor automatically creates an instance of DaemonProxy, and stores it in the new manager instance.

3. Get the daemon proxy instance from the daemon manager.
4. Cast the daemon proxy instance to one of the specific aspect proxy interfaces, and call methods of that aspect to access and configure the daemon.

You may subsequently cast the daemon proxy to different aspect proxy interfaces, and call their methods.