@Override public void flush() throws IOException { super.flush(); locOut.flush(); } }
public void flush() throws IOException { super.flush(); locOut.flush(); } }
@Override public void writeUpdate(OutputStream out, Object value) throws Exception { MarshalOutputStream s = new MarshalOutputStream(out, Collections.EMPTY_LIST); s.writeObject(value); s.flush(); }
@Override public void snapshot(OutputStream out) throws Exception { if (state == null) { state = new Activation(); } MarshalOutputStream s = new MarshalOutputStream(out, Collections.EMPTY_LIST); s.writeObject(state); s.flush(); }
out.flush(); out.close();