1 23 package fr.dyade.aaa.agent; 24 25 import java.io.Serializable ; 26 27 30 public class HAStateReply implements Serializable { 31 32 long now; 33 int stamp; 34 byte[] agents = null; 35 byte[] messages = null; 36 37 38 private byte[] clock = null; 39 40 public HAStateReply() { 41 } 42 43 public void setNetworkStamp(byte[] clock) { 44 this.clock = clock; 45 } 46 47 public byte[] getNetworkStamp() { 48 return clock; 49 } 50 51 public String toString() { 52 StringBuffer buf = new StringBuffer (); 53 54 buf.append("(HAStateReply(").append(super.toString()); 55 buf.append("now=").append(now); 56 buf.append(",stamp=").append(stamp); 57 buf.append("],clock=").append(clock); 58 buf.append("))"); 59 60 return buf.toString(); 61 } 62 } 63 | Popular Tags |