@ManagedOperation(description="Prints the contents of the receive windows for all members") public String printReceiveWindowMessages() { StringBuilder ret=new StringBuilder(local_addr + ":\n"); for(Map.Entry<Address,ReceiverEntry> entry: recv_table.entrySet()) { Address addr=entry.getKey(); Table<Message> buf=entry.getValue().msgs; ret.append(addr).append(": ").append(buf.toString()).append('\n'); } return ret.toString(); }
@ManagedOperation(description="Prints the contents of the receiver windows for all members") public String printMessages() { StringBuilder ret=new StringBuilder(local_addr + ":\n"); for(Map.Entry<Address,Table<Message>> entry: xmit_table.entrySet()) { Address addr=entry.getKey(); Table<Message> buf=entry.getValue(); ret.append(addr).append(": ").append(buf.toString()).append('\n'); } return ret.toString(); }
@ManagedOperation(description="Prints the contents of the send windows for all members") public String printSendWindowMessages() { StringBuilder ret=new StringBuilder(local_addr + ":\n"); for(Map.Entry<Address,SenderEntry> entry: send_table.entrySet()) { Address addr=entry.getKey(); Table<Message> buf=entry.getValue().msgs; ret.append(addr).append(": ").append(buf.toString()).append('\n'); } return ret.toString(); }
@ManagedOperation(description="Prints the contents of the send windows for all members") public String printSendWindowMessages() { StringBuilder ret=new StringBuilder(local_addr + ":\n"); for(Map.Entry<Address,SenderEntry> entry: send_table.entrySet()) { Address addr=entry.getKey(); Table<Message> buf=entry.getValue().msgs; ret.append(addr).append(": ").append(buf.toString()).append('\n'); } return ret.toString(); }
@ManagedOperation(description="Prints the contents of the receive windows for all members") public String printReceiveWindowMessages() { StringBuilder ret=new StringBuilder(local_addr + ":\n"); for(Map.Entry<Address,ReceiverEntry> entry: recv_table.entrySet()) { Address addr=entry.getKey(); Table<Message> buf=entry.getValue().msgs; ret.append(addr).append(": ").append(buf.toString()).append('\n'); } return ret.toString(); }
@ManagedOperation(description="Prints the contents of the receiver windows for all members") public String printMessages() { StringBuilder ret=new StringBuilder(local_addr + ":\n"); for(Map.Entry<Address,Table<Message>> entry: xmit_table.entrySet()) { Address addr=entry.getKey(); Table<Message> buf=entry.getValue(); ret.append(addr).append(": ").append(buf.toString()).append('\n'); } return ret.toString(); }