RegisterSign In

API Documentation: Class 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_servers, String network_password, int introduced_latency, LocalNetworkCache lnc)
static MckoiDDBClient connectTCP(ServiceAddress[] manager_servers, String network_password, int introduced_latency)
static MckoiDDBClient connectTCP(ServiceAddress[] manager_servers, 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_servers, String network_password, int introduced_latency, LocalNetworkCache lnc)
static MckoiDDBClient connectProxyTCP(java.net.InetAddress proxy_address, int proxy_port, ServiceAddress[] manager_servers, String network_password, int introduced_latency)
static MckoiDDBClient connectProxy(InputStream in, OutputStream out, ServiceAddress[] manager_servers, String network_password, int introduced_latency, LocalNetworkCache lnc)
static MckoiDDBClient connectProxy(InputStream in, OutputStream out, ServiceAddress[] manager_servers, String network_password, int introduced_latency)

Constructor Details

MckoiDDBClientUtils()

Method Details

static MckoiDDBClient connectTCP(ServiceAddress[] manager_servers, String network_password, int introduced_latency, LocalNetworkCache lnc)

Creates a standard direct client connection over a TCP network.

static MckoiDDBClient connectTCP(ServiceAddress[] manager_servers, String network_password, int introduced_latency)

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

static MckoiDDBClient connectTCP(ServiceAddress[] manager_servers, String network_password)

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

static 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.

static 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.

static 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'.

static 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'.

static MckoiDDBClient connectProxyTCP(java.net.InetAddress proxy_address, int proxy_port, ServiceAddress[] manager_servers, String network_password, int introduced_latency, LocalNetworkCache lnc)

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

static MckoiDDBClient connectProxyTCP(java.net.InetAddress proxy_address, int proxy_port, ServiceAddress[] manager_servers, String network_password, int introduced_latency)

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

static MckoiDDBClient connectProxy(InputStream in, OutputStream out, ServiceAddress[] manager_servers, String network_password, int introduced_latency, LocalNetworkCache lnc)

static MckoiDDBClient connectProxy(InputStream in, OutputStream out, ServiceAddress[] manager_servers, String network_password, int introduced_latency)

The text on this page is licensed under the Creative Commons Attribution 3.0 License. Java is a registered trademark of Oracle and/or its affiliates.
Mckoi is Copyright © 2000 - 2018 Diehl and Associates, Inc. All rights reserved.