Class DriverIn
java.lang.Object
DriverIn
- All Implemented Interfaces:
- IPipeIn
public class DriverIn
- extends Object
- implements IPipeIn
Constructor Summary |
DriverIn(String filename)
Constructor for objects of class DriverIn |
Method Summary |
void |
close()
Chiude il file, per una fine ordinata. |
PersistentTime |
in()
Realizza l'operazione di estrazione dalla pipe, leggendo dal file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
driverIn
ObjectInputStream driverIn
DriverIn
public DriverIn(String filename)
- Constructor for objects of class DriverIn
close
public void close()
- Chiude il file, per una fine ordinata.
- Specified by:
close
in interface IPipeIn
in
public PersistentTime in()
- Realizza l'operazione di estrazione dalla pipe, leggendo dal file.
Busy waiting in caso di pipe vuota.
- Specified by:
in
in interface IPipeIn
- Returns:
- : il valore estratto.