org.csource.fastdfs
类 TrackerServer
java.lang.Object
org.csource.fastdfs.TrackerServer
- 直接已知子类:
- StorageServer
public class TrackerServer
- extends Object
Tracker Server Info
- 版本:
- Version 1.11
- 作者:
- Happy Fish / YuQing
sock
protected Socket sock
inetSockAddr
protected InetSocketAddress inetSockAddr
TrackerServer
public TrackerServer(Socket sock,
InetSocketAddress inetSockAddr)
- Constructor
- 参数:
sock
- Socket of serverinetSockAddr
- the server info
getSocket
public Socket getSocket()
throws IOException
- get the connected socket
- 返回:
- the socket
- 抛出:
IOException
getInetSocketAddress
public InetSocketAddress getInetSocketAddress()
- get the server info
- 返回:
- the server info
getOutputStream
public OutputStream getOutputStream()
throws IOException
- 抛出:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- 抛出:
IOException
close
public void close()
throws IOException
- 抛出:
IOException
finalize
protected void finalize()
throws Throwable
- 覆盖:
- 类
Object
中的 finalize
- 抛出:
Throwable
Copyright © 2017. All rights reserved.