public void requestFile()
{
int protocolId = PeerProtocol.PROTOCOL_TRANSFER;
int opcode = PeerProtocol.Transfer.OP_REQUEST_FILE;
send(protocolId, opcode, new ConnectionWriterInterface()
{
public void run(ObjectOutputStream os) throws IOException
{
os.writeObject(download.getFile());
os.writeLong(download.getCompletedSize());