org.csource.fastdfs
Class StorageServer

java.lang.Object
  extended by org.csource.fastdfs.TrackerServer
      extended by org.csource.fastdfs.StorageServer

public class StorageServer
extends TrackerServer

Storage Server Info

Version:
Version 1.11
Author:
Happy Fish / YuQing

Field Summary
protected  int store_path_index
           
 
Fields inherited from class org.csource.fastdfs.TrackerServer
inetSockAddr, sock
 
Constructor Summary
StorageServer(java.lang.String ip_addr, int port, byte store_path)
          Constructor
StorageServer(java.lang.String ip_addr, int port, int store_path)
          Constructor
 
Method Summary
 int getStorePathIndex()
           
 
Methods inherited from class org.csource.fastdfs.TrackerServer
close, finalize, getInetSocketAddress, getInputStream, getOutputStream, getSocket
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

store_path_index

protected int store_path_index
Constructor Detail

StorageServer

public StorageServer(java.lang.String ip_addr,
                     int port,
                     int store_path)
              throws java.io.IOException
Constructor

Parameters:
ip_addr - the ip address of storage server
port - the port of storage server
store_path - the store path index on the storage server
Throws:
java.io.IOException

StorageServer

public StorageServer(java.lang.String ip_addr,
                     int port,
                     byte store_path)
              throws java.io.IOException
Constructor

Parameters:
ip_addr - the ip address of storage server
port - the port of storage server
store_path - the store path index on the storage server
Throws:
java.io.IOException
Method Detail

getStorePathIndex

public int getStorePathIndex()
Returns:
the store path index on the storage server