Query Cycle Simulator HEADER

qcsim.net.util
Class PeerMsgRequestDownload

java.lang.Object
  |
  +--qcsim.net.util.PeerMsgRequestDownload
All Implemented Interfaces:
PeerMessage

public class PeerMsgRequestDownload
extends java.lang.Object
implements PeerMessage

Message used to request a download from peer.

Version:
1.0
Author:
unascribed

Field Summary
 int sourceID_
          peer id of sending node
 
Fields inherited from interface qcsim.net.util.PeerMessage
MSG_QUERY, MSG_QUERYRESPONSE, MSG_REQUESTDOWNLOAD, MSG_REQUESTTRUST, MSG_TRUST
 
Constructor Summary
PeerMsgRequestDownload(PeerMsgRequestDownload msg)
          Constructor
 
Method Summary
 int type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceID_

public int sourceID_
peer id of sending node

Constructor Detail

PeerMsgRequestDownload

public PeerMsgRequestDownload(PeerMsgRequestDownload msg)
Constructor

Parameters:
msg - message to copy.
Method Detail

type

public int type()
Specified by:
type in interface PeerMessage

Query Cycle Simulator HEADER