class RemoteFileDescriptor extends RemoteFileDescriptorBase<Void> {

  @Override
  public synchronized void close() throws IOException {
    FileDescriptor fd = getFileDescriptor();
    if (fd != null && fd.valid()) {
      new FileInputStream(fd).close();
    }
  }

  public  RemoteFileDescriptor();
  public  RemoteFileDescriptor(AFUNIXRMISocketFactory socketFactory, FileDescriptor fd);

}