Class DriverOut
java.lang.Object
DriverOut
- All Implemented Interfaces:
- IPipeOut
public class DriverOut
- extends Object
- implements IPipeOut
Realizza il lato out delle comunicazioni via pipe,
nel caso inter-process, tramite un file condiviso.
I dati scambiati sono date (PersistentTime).
- Version:
- (1.2)
- Author:
- (C. Montangero)
Constructor Summary |
DriverOut(String filename)
Constructor for objects of class DriverOut |
Method Summary |
void |
close()
Chiude il file, per una fine ordinata. |
void |
out(PersistentTime time)
Realizza l'operazione di inserzione nella pipe, scrivendo sul file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
ObjectOutputStream out
DriverOut
public DriverOut(String filename)
- Constructor for objects of class DriverOut
close
public void close()
- Chiude il file, per una fine ordinata.
- Specified by:
close
in interface IPipeOut
out
public void out(PersistentTime time)
- Realizza l'operazione di inserzione nella pipe, scrivendo sul file.
- Specified by:
out
in interface IPipeOut
- Parameters:
time
- : la data inserita.