Exemplo n.º 1
0
 /**
  * Behaves like setLocalStripedPassive(FTPServerFacade.ANY_PORT, FTPServerFacade.DEFAULT_QUEUE)
  */
 public HostPortList setLocalStripedPassive() throws IOException {
   return gLocalServer.setStripedPassive(portRange, FTPServerFacade.DEFAULT_QUEUE);
 }
Exemplo n.º 2
0
 /**
  * Starts local server in striped passive mode. Since the local server is not distributed, it will
  * only listen on one socket.
  *
  * @param range required server port
  * @param queue max size of queue of awaiting new data channel connection requests
  * @return the HostPortList of 1 element representing the socket where the local server is
  *     listening
  */
 public HostPortList setLocalStripedPassive(PortRange range, int queue) throws IOException {
   return gLocalServer.setStripedPassive(range, queue);
 }