|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.csource.fastdfs.ServerInfo
public class ServerInfo
Server Info
字段摘要 | |
---|---|
protected String |
ip_addr
|
protected int |
port
|
构造方法摘要 | |
---|---|
ServerInfo(String ip_addr,
int port)
Constructor |
方法摘要 | |
---|---|
Socket |
connect()
connect to server |
String |
getIpAddr()
return the ip address |
int |
getPort()
return the port of the server |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
protected String ip_addr
protected int port
构造方法详细信息 |
---|
public ServerInfo(String ip_addr, int port)
ip_addr
- address of the serverport
- the port of the server方法详细信息 |
---|
public String getIpAddr()
public int getPort()
public Socket connect() throws IOException
IOException
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |