Logo Search packages:      
Sourcecode: jaminid version File versions  Download package

Client.java

/*
 * Created on Nov 27, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.prolixtech.jaminid;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;

/**
 * @author Constantinos Michael
 * 
 */
00017 public class Client {
    public Client() {
        // do nothing
    }

    public String getContent(String ip, int port, String location) {

        Socket MyClient;
        try {

            MyClient = new Socket();
            MyClient.connect(new InetSocketAddress(ip, port));

        } catch (IOException e) {
            System.out.println(e);
        }

        return null;
    }

    public String getContent(String ip, int port, Request serviceRequest) {

        return null;
    }

}

Generated by  Doxygen 1.6.0   Back to index