samples.appMan
Class FileTransferImpl

java.lang.Object
  |
  +--soaprmi.server.RemoteObject
        |
        +--soaprmi.server.UnicastRemoteObject
              |
              +--samples.appMan.FileTransferImpl
All Implemented Interfaces:
FileTransfer_idl, xcat.framework.ccacore.Port, ProvidesFileTransfer, xcat.framework.ccacore.ProvidesPort, javax.naming.Referenceable, soaprmi.Remote, soaprmi.server.RemoteRef

public class FileTransferImpl
extends soaprmi.server.UnicastRemoteObject
implements ProvidesFileTransfer

This is the implementation of the Port samples.idl.fileTransfer.ProvidesFileTransfer

Version:
$Revision: 1.2 $ $Author: mgovinda $ $Date: 2001/09/17 06:45:17 $ (GMT)
Author:
Sriram Krishnan [mailto: srikrish@extreme.indiana.edu]

Field Summary
(package private)  java.lang.String fileLoc
           
 
Fields inherited from class soaprmi.server.UnicastRemoteObject
defaultServices, l
 
Fields inherited from class soaprmi.server.RemoteObject
port
 
Constructor Summary
FileTransferImpl()
           
 
Method Summary
private  void getFile()
           
 int sendFile(java.lang.String fileName)
           
 java.lang.String waitForFile()
           
private  void waitForFileToBeNull()
           
private  void wakeUpSleepers()
           
 
Methods inherited from class soaprmi.server.UnicastRemoteObject
, exportObject, exportObject, exportObject, exportObject, exportObject, exportObject, exportObject, exportObject, getDefaultServices, setDefaultServices
 
Methods inherited from class soaprmi.server.RemoteObject
equals, getReference, getSoapRMIPort, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

fileLoc

java.lang.String fileLoc
Constructor Detail

FileTransferImpl

public FileTransferImpl()
                 throws soaprmi.RemoteException
Method Detail

sendFile

public int sendFile(java.lang.String fileName)
Specified by:
sendFile in interface FileTransfer_idl

waitForFile

public java.lang.String waitForFile()
Specified by:
waitForFile in interface FileTransfer_idl

getFile

private void getFile()

waitForFileToBeNull

private void waitForFileToBeNull()

wakeUpSleepers

private void wakeUpSleepers()