1 16 package org.mortbay.util; 17 18 import java.io.IOException ; 19 import java.io.OutputStream ; 20 21 22 28 public interface OutputObserver 29 { 30 public final static int 31 __FIRST_WRITE=0, 32 __RESET_BUFFER=1, 33 __COMMITING=2, 34 __CLOSING=4, 35 __CLOSED=5; 36 37 38 43 void outputNotify(OutputStream out, int action, Object data) 44 throws IOException ; 45 } 46 | Popular Tags |