Inheritance: PeerMessage
 public RejectRequestMessage(PieceMessage message)
     : this(message.PieceIndex, message.StartOffset, message.RequestLength)
 {
 }
Ejemplo n.º 2
0
 public HttpRequestData(RequestMessage request)
 {
     Request = request;
     var m = new PieceMessage(request.PieceIndex, request.StartOffset, request.RequestLength);
     TotalToReceive = m.ByteLength;
 }