S-PLUS Connect/Java v1.0

com.insightful.splus
Class FileOutputStreamProxyImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by com.insightful.splus.FileOutputStreamProxyImpl
All Implemented Interfaces:
FileOutputStreamProxy, Serializable, Remote

public class FileOutputStreamProxyImpl
extends UnicastRemoteObject
implements FileOutputStreamProxy

Remote object holding a reference to a FileOutputStream on the server. Relays method calls to the server-side FileOutputStream.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
FileOutputStreamProxyImpl(String filename)
           
FileOutputStreamProxyImpl(String filename, boolean doSSL)
           
 
Method Summary
 void close()
           
 void finalize()
           
 void flush()
           
 FileDescriptor getFD()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
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

FileOutputStreamProxyImpl

public FileOutputStreamProxyImpl(String filename,
                                 boolean doSSL)
                          throws FileNotFoundException,
                                 RemoteException
Throws:
FileNotFoundException
RemoteException

FileOutputStreamProxyImpl

public FileOutputStreamProxyImpl(String filename)
                          throws FileNotFoundException,
                                 RemoteException
Throws:
FileNotFoundException
RemoteException
Method Detail

close

public void close()
           throws IOException,
                  RemoteException
Specified by:
close in interface FileOutputStreamProxy
Throws:
IOException
RemoteException

finalize

public void finalize()
              throws IOException,
                     RemoteException
Specified by:
finalize in interface FileOutputStreamProxy
Overrides:
finalize in class Object
Throws:
IOException
RemoteException

getFD

public FileDescriptor getFD()
                     throws IOException,
                            RemoteException
Specified by:
getFD in interface FileOutputStreamProxy
Throws:
IOException
RemoteException

write

public void write(byte[] b)
           throws IOException,
                  RemoteException
Specified by:
write in interface FileOutputStreamProxy
Throws:
IOException
RemoteException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException,
                  RemoteException
Specified by:
write in interface FileOutputStreamProxy
Throws:
IOException
RemoteException

write

public void write(int b)
           throws IOException,
                  RemoteException
Specified by:
write in interface FileOutputStreamProxy
Throws:
IOException
RemoteException

flush

public void flush()
           throws IOException,
                  RemoteException
Specified by:
flush in interface FileOutputStreamProxy
Throws:
IOException
RemoteException

S-PLUS Connect/Java v1.0

Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.