public class TrackerServer extends Object
| 构造器和说明 |
|---|
TrackerServer(String host,
int port) |
TrackerServer(String host,
int port,
int weight) |
public TrackerServer(String host, int port)
host - port - public TrackerServer(String host, int port, int weight)
host - port - weight - public String host()
public int port()
public int weight()
public InetSocketAddress toInetAddress()
Copyright © 2017. All rights reserved.