FRS
Class proxyLettura

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

public class proxyLettura
extends java.rmi.server.UnicastRemoteObject
implements ISessioneLettura

Author:
Dario Agostinone Proxy Lettura
See Also:
Serialized Form

Constructor Summary
proxyLettura(java.lang.String logicalpath, java.lang.String path, ITerminazioneSessione res, IClientCallBack client, IExecutionMonitor monitor)
          Costruttore
 
Method Summary
 boolean avaible()
          Restituisce true se vi sono ancora caratteri da leggere dal file
 java.lang.String leggi(int DimBuf)
          legge dimbuf caratteri dal file
 void Reset()
          Resetta la sessione
 void Termina()
          Termina la sessione rilasciando la risorsa
 void TerminazioneForzata()
          Termina forzatamente la sessione
 
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

proxyLettura

public proxyLettura(java.lang.String logicalpath,
                    java.lang.String path,
                    ITerminazioneSessione res,
                    IClientCallBack client,
                    IExecutionMonitor monitor)
             throws java.rmi.RemoteException
Costruttore

Method Detail

leggi

public java.lang.String leggi(int DimBuf)
                       throws java.rmi.RemoteException
legge dimbuf caratteri dal file

Specified by:
leggi in interface ISessioneLettura
Throws:
java.rmi.RemoteException

TerminazioneForzata

public void TerminazioneForzata()
                         throws java.rmi.RemoteException
Termina forzatamente la sessione

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

avaible

public boolean avaible()
                throws java.rmi.RemoteException
Restituisce true se vi sono ancora caratteri da leggere dal file

Specified by:
avaible in interface ISessioneLettura
Throws:
java.rmi.RemoteException

Reset

public void Reset()
           throws java.rmi.RemoteException
Resetta la sessione

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

Termina

public void Termina()
             throws java.rmi.RemoteException
Termina la sessione rilasciando la risorsa

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