oogp2p.file.IRs
Class FileDataIR

java.lang.Object
  extended byoogp2p.InfoReceived
      extended byoogp2p.file.IRs.FileInfoReceived
          extended byoogp2p.file.IRs.FileDataIR

public class FileDataIR
extends FileInfoReceived

FileDataIR.java Given a FileDataNettable, outputs the file. Created: Tue Apr 8 19:41:22 2003

Version:
Author:
OOGs

Field Summary
static int FILE_PACKET_SIZE
           
private  java.io.File myFile
           
private  java.util.Vector myFilePackets
           
 
Fields inherited from class oogp2p.InfoReceived
myNettableReceiver, myNettableSender
 
Constructor Summary
  FileDataIR()
           
protected FileDataIR(FileDataNettable n)
           
 
Method Summary
 void execute()
           
 boolean isType(Nettable n)
           
 InfoReceived makeType(Nettable n)
           
 
Methods inherited from class oogp2p.InfoReceived
getNettableReceiver, getNettableSender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myFilePackets

private java.util.Vector myFilePackets

myFile

private java.io.File myFile

FILE_PACKET_SIZE

public static int FILE_PACKET_SIZE
Constructor Detail

FileDataIR

public FileDataIR()

FileDataIR

protected FileDataIR(FileDataNettable n)
Method Detail

isType

public boolean isType(Nettable n)
Specified by:
isType in class FileInfoReceived

makeType

public InfoReceived makeType(Nettable n)
Specified by:
makeType in class FileInfoReceived

execute

public void execute()
Specified by:
execute in class FileInfoReceived