FRS
Class proxyScrittura

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended byFRS.proxyScrittura
All Implemented Interfaces:
ISessione, ISessioneScrittura, java.rmi.Remote, java.io.Serializable

public class proxyScrittura
extends java.rmi.server.UnicastRemoteObject
implements ISessioneScrittura

Author:
Dario Agostinone Proxy scrittura
See Also:
Serialized Form

Constructor Summary
proxyScrittura(java.lang.String logicalpath, java.lang.String path, boolean append, ITerminazioneSessione listTerm, IClientCallBack client, IExecutionMonitor monitor)
          Costruttore
 
Method Summary
 void Reset()
          Resetto la scrittura
 void scrivi(java.lang.String buf)
          scrive il buffer buf sul file
 void setClone(ISessioneScrittura in)
          setto il clone
 void Termina()
          Terminazione della sessione
 void TerminazioneForzata()
          Terminazione forzata a fronte di anomalia
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

proxyScrittura

public proxyScrittura(java.lang.String logicalpath,
                      java.lang.String path,
                      boolean append,
                      ITerminazioneSessione listTerm,
                      IClientCallBack client,
                      IExecutionMonitor monitor)
               throws java.rmi.RemoteException
Costruttore

Method Detail

setClone

public void setClone(ISessioneScrittura in)
              throws java.rmi.RemoteException
setto il clone

Specified by:
setClone in interface ISessioneScrittura
Throws:
java.rmi.RemoteException

scrivi

public void scrivi(java.lang.String buf)
            throws java.rmi.RemoteException
scrive il buffer buf sul file

Specified by:
scrivi in interface ISessioneScrittura
Throws:
java.rmi.RemoteException

Reset

public void Reset()
           throws java.rmi.RemoteException
Resetto la scrittura

Specified by:
Reset in interface ISessione
Throws:
java.rmi.RemoteException

TerminazioneForzata

public void TerminazioneForzata()
                         throws java.rmi.RemoteException
Terminazione forzata a fronte di anomalia

Specified by:
TerminazioneForzata in interface ISessione
Throws:
java.rmi.RemoteException

Termina

public void Termina()
             throws java.rmi.RemoteException
Terminazione della sessione

Specified by:
Termina in interface ISessione
Throws:
java.rmi.RemoteException