Package ds.shared.socket

Examples of ds.shared.socket.ClientSocketHandler


   *                if the object handle cannot be constructed.
   */
  public boolean putFile(String file, long size) throws RemoteException {
    // Inform the clienthandler of the pending file
   
    ClientSocketHandler clientHandler = this.handler.getClient();
   
    clientHandler.setAction("receive");
    clientHandler.setFile(file, size);

    // Start the client handler thread
    Thread t = new Thread(clientHandler);
    t.start();
   
View Full Code Here


      LOGGER.debug("File not found " + file);
      return false;
    }
   
    // Inform the clienthandler that it will need to start sending
    ClientSocketHandler clientHandler = this.handler.getClient();
   
    clientHandler.setAction("send");
    clientHandler.setFile(file);

    // Start the client handler thread
    Thread t = new Thread(clientHandler);
    t.start();
   
View Full Code Here

TOP

Related Classes of ds.shared.socket.ClientSocketHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.