1 24 25 package org.objectweb.dream.protocol.utobcast; 26 27 import org.objectweb.dream.AbstractComponent; 28 import org.objectweb.dream.util.EmptyStringArray; 29 30 33 public class SequenceNumberImpl extends AbstractComponent 34 implements 35 SequenceNumber 36 { 37 long sn = 0; 38 39 43 47 50 public SequenceNumberImpl() 51 { 52 } 53 54 58 61 public long getSequenceNumber() 62 { 63 return sn; 64 } 65 66 69 public void setSequenceNumber(long sn) 70 { 71 this.sn = sn; 72 } 73 74 77 public void incrementSequenceNumber() 78 { 79 sn++; 80 } 81 82 86 89 public String [] listFc() 90 { 91 return EmptyStringArray.EMPTY_STRING_ARRAY; 92 } 93 94 } | Popular Tags |