package kraft.gateway; import kraft.TermInString; // a socket-based gateway supporting multiple remote sites // // Author: K.Y. Hui // Date: 26 June 1998 // Version: 1.20 // Changed to cater for single-quotation in Prolog term // import java.io.*; public class GatewayTest { static boolean verbose=false; public static void main(String[] argv) { String config_file=null; //config file name String linda_host=null; //linda host int linda_port=0; //linda port String myname=null; //my KRAFT name int myport=0; //my socket port to use // boolean verbose=false; //default verbose flag off SocketGateway gate; //the socket gateway object that does the real job GatewayMap known_map=null; //entries from config file // // process command line arguments // try { int i=0; while (i