Class DriverIn

java.lang.Object
  extended by DriverIn
All Implemented Interfaces:
IPipeIn

public class DriverIn
extends Object
implements IPipeIn


Field Summary
(package private)  ObjectInputStream driverIn
           
 
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
 

Field Detail

driverIn

ObjectInputStream driverIn
Constructor Detail

DriverIn

public DriverIn(String filename)
Constructor for objects of class DriverIn

Method Detail

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.