API Documentation: Class MckoiDDBClientUtils

Name MckoiDDBClientUtils
Package com.mckoi.network

Static connection utility methods for creating MckoiDDBClient instances using various ways to specify the properties needed to connect to the network.

Constructors Summary

MckoiDDBClientUtils()

Methods Summary

static MckoiDDBClient connectTCP(ServiceAddress manager_server, String network_password, LocalNetworkCache lnc)
static MckoiDDBClient connectTCP(ServiceAddress manager_server, String network_password)
static MckoiDDBClient connectTCP(Properties p) throws IOException
static MckoiDDBClient connectTCP(InputStream is) throws IOException
static MckoiDDBClient connectTCP(java.net.URL url) throws IOException
static MckoiDDBClient connectTCP(File file) throws IOException
static MckoiDDBClient connectProxyTCP(java.net.InetAddress proxy_address, int proxy_port, ServiceAddress manager_server, String network_password, LocalNetworkCache lnc)
static MckoiDDBClient connectProxyTCP(java.net.InetAddress proxy_address, int proxy_port, ServiceAddress manager_server, String network_password)
static MckoiDDBClient connectProxy(InputStream in, OutputStream out, ServiceAddress manager_server, String network_password, LocalNetworkCache lnc)
static MckoiDDBClient connectProxy(InputStream in, OutputStream out, ServiceAddress manager_server, String network_password)

Constructor Details

MckoiDDBClientUtils()

Method Details

MckoiDDBClient connectTCP(ServiceAddress manager_server, String network_password, LocalNetworkCache lnc)

Creates a standard direct client connection over a TCP network.

MckoiDDBClient connectTCP(ServiceAddress manager_server, String network_password)

Creates a standard direct client connection over a TCP network with a local JVM heap cache.

MckoiDDBClient connectTCP(Properties p)

Creates a TCPMckoiDDBClient object based on a Properties object that contains two keys - 'manager_address', and 'network_password'. 'manager_address' is a ServiceAddress string of the manager server in the network (eg. 'mymachine.com:3900'). 'network_password' is the challenge password string needed to talk with the machines on the network.

MckoiDDBClient connectTCP(InputStream is)

Creates a TCPMckoiDDBClient object based on an InputStream that contains two keys ('manager_address', and 'network_password') formatted as a Properties file and used to build the connection.

MckoiDDBClient connectTCP(java.net.URL url)

Creates a TCPMckoiDDBClient object based on a URL object that locates a resource that contains two keys used to build the connection - 'manager_address', and 'network_password'.

MckoiDDBClient connectTCP(File file)

Creates a TCPMckoiDDBClient object based on a File object that locates a resource that contains two keys used to build the connection - 'manager_address', and 'network_password'.

MckoiDDBClient connectProxyTCP(java.net.InetAddress proxy_address, int proxy_port, ServiceAddress manager_server, String network_password, LocalNetworkCache lnc)

Creates a connection to a MckoiDDB network via a proxy service over a TCP network.

MckoiDDBClient connectProxyTCP(java.net.InetAddress proxy_address, int proxy_port, ServiceAddress manager_server, String network_password)

Creates a connection to a MckoiDDB network via a proxy service over a TCP network, using the local JVM heap cache.

MckoiDDBClient connectProxy(InputStream in, OutputStream out, ServiceAddress manager_server, String network_password, LocalNetworkCache lnc)

MckoiDDBClient connectProxy(InputStream in, OutputStream out, ServiceAddress manager_server, String network_password)

The text on this page is licensed under the Creative Commons Attribution 3.0 License. Java is a registered trademark of Sun Microsystems, Inc.
Mckoi is Copyright © 2000 - 2012 Diehl and Associates, Inc. All rights reserved.