Class DriverOut

java.lang.Object
  extended by 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)

Field Summary
(package private)  ObjectOutputStream out
           
 
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
 

Field Detail

out

ObjectOutputStream out
Constructor Detail

DriverOut

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

Method Detail

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.