public Object down(Message msg) { long size=msg.getLength(); if(size > frag_size) { fragment(msg); // Fragment and pass down avg_size_down.add(size); return null; } return down_prot.down(msg); }
public Object down(Message msg) { long size=msg.getLength(); if(size > frag_size) { fragment(msg); // Fragment and pass down avg_size_down.add(size); return null; } return down_prot.down(msg); }
.append(", will fragment ").append("(frag_size=").append(frag_size).append(')')); fragment(msg); // Fragment and pass down return null;