All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.csource.fastdht.ServerInfo Maven / Gradle / Ivy

The newest version!
/**
* Copyright (C) 2008 Happy Fish / YuQing
*
* FastDHT Java Client may be copied only under the terms of the GNU Lesser
* General Public License (LGPL).
* Please visit the FastDHT Home Page http://fastdht.csource.org/ for more detail.
**/

package com.csource.fastdht;

import java.net.InetSocketAddress;
import java.net.Socket;

/**
* FastDHT server info
* @author Happy Fish / YuQing
* @version Version 1.00
*/
public class ServerInfo
{
	protected InetSocketAddress address;
	protected Socket sock = null;
	
	public ServerInfo(InetSocketAddress address)
	{
		this.address = address;
	}
	
	public InetSocketAddress getAddress()
	{
		return this.address;
	}
	
	public Socket getSocket()
	{
		return this.sock;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy