1 28 29 package com.caucho.ejb.protocol; 30 31 import com.caucho.log.Log; 32 33 import java.io.InputStream ; 34 import java.io.OutputStream ; 35 import java.util.logging.Logger ; 36 37 45 abstract public class Skeleton { 46 protected static final Logger log = Log.open(Skeleton.class); 47 48 public void setDebug(boolean isDebug) 49 { 50 } 51 52 62 abstract public void _service(InputStream rawIs, OutputStream rawOs) 63 throws Exception ; 64 65 71 public void _service(InputStream rawIs, OutputStream rawOs, 72 Throwable e) 73 throws Exception 74 { 75 throw new UnsupportedOperationException (getClass().getName()); 76 } 77 } 78 79 80 | Popular Tags |