1 package org.jgroups; 2 3 import java.io.InputStream ; 4 import java.io.OutputStream ; 5 6 import org.jgroups.util.Util; 7 8 12 public class ExtendedReceiverAdapter implements ExtendedReceiver { 13 public byte[] getState(String state_id) { 14 return null; 15 } 16 17 public void setState(String state_id, byte[] state) { 18 } 19 20 public void receive(Message msg) { 21 } 22 23 public byte[] getState() { 24 return null; 25 } 26 27 public void setState(byte[] state) { 28 } 29 30 public void viewAccepted(View new_view) { 31 } 32 33 public void suspect(Address suspected_mbr) { 34 } 35 36 public void block() { 37 } 38 39 public void unblock() { 40 } 41 42 public void getState(OutputStream ostream) { 43 Util.close(ostream); 44 } 45 46 public void getState(String state_id, OutputStream ostream) { 47 Util.close(ostream); 48 } 49 50 public void setState(InputStream istream) { 51 Util.close(istream); 52 } 53 54 public void setState(String state_id, InputStream istream) { 55 Util.close(istream); 56 } 57 } 58 | Popular Tags |