1 package org.jgroups.util; 2 3 import java.io.DataInputStream ; 4 import java.io.DataOutputStream ; 5 import java.io.IOException ; 6 7 13 public interface Streamable { 14 15 16 void writeTo(DataOutputStream out) throws IOException ; 17 18 19 void readFrom(DataInputStream in) throws IOException , IllegalAccessException , InstantiationException ; 20 } 21 | Popular Tags |