KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgroups > protocols > FlushRsp


1 // $Id: FlushRsp.java,v 1.1.1.1 2003/09/09 01:24:10 belaban Exp $
2

3 package org.jgroups.protocols;
4
5 import java.util.Vector JavaDoc;
6
7
8
9
10 public class FlushRsp {
11     public boolean result=true;
12     public Vector JavaDoc unstable_msgs=new Vector JavaDoc();
13     public Vector JavaDoc failed_mbrs=null; // when result is false
14

15     public FlushRsp() {}
16
17     public FlushRsp(boolean result, Vector JavaDoc unstable_msgs, Vector JavaDoc failed_mbrs) {
18     this.result=result;
19     this.unstable_msgs=unstable_msgs;
20     this.failed_mbrs=failed_mbrs;
21     }
22
23     public String JavaDoc toString() {
24     return "result=" + result + "\nunstable_msgs=" + unstable_msgs + "\nfailed_mbrs=" + failed_mbrs;
25     }
26 }
27
Popular Tags