weka4ws.core
Class Transfer

java.lang.Object
  extended byweka4ws.core.Transfer

public class Transfer
extends java.lang.Object

Author:
Marco Lackovic

Constructor Summary
Transfer(java.lang.String fileName2, long crc2, java.lang.String destination2)
           
 
Method Summary
 void addProcess()
           
 boolean checkAndRemove()
          Returns whether a process is the last one, if not decreases the number of processes
 boolean equals(Transfer t)
           
 int getProcesses()
           
 boolean isInProgress()
           
 void removeProcess()
           
 void setInProgress(boolean inProgress)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transfer

public Transfer(java.lang.String fileName2,
                long crc2,
                java.lang.String destination2)
Method Detail

getProcesses

public int getProcesses()

addProcess

public void addProcess()

removeProcess

public void removeProcess()

equals

public boolean equals(Transfer t)

isInProgress

public boolean isInProgress()

setInProgress

public void setInProgress(boolean inProgress)

checkAndRemove

public boolean checkAndRemove()
Returns whether a process is the last one, if not decreases the number of processes