74757677787980818283848586
public void init(OutputStream os) { _os = os; if (log.isLoggable(Level.FINEST)) { HessianDebugOutputStream dOut; dOut = new HessianDebugOutputStream(_os, log, Level.FINEST); dOut.startStreaming(); _os = dOut; } _out = new Hessian2Output(_os); }
5354555657585960616263
*/ public void serialize(V value, OutputStream os) throws IOException { if (log.isLoggable(Level.FINEST)) os = new HessianDebugOutputStream(os, log, Level.FINEST); Hessian2Output hOut = new Hessian2Output(os); hOut.writeObject(value);
47484950515253545556
private Hessian2Output _out; public HessianSessionSerializer(OutputStream os) { if (log.isLoggable(Level.FINEST)) { os = new HessianDebugOutputStream(os, log, Level.FINEST); } _out = new Hessian2Output(os); }
278279280281282283284285286287288289
throw new HessianRuntimeException(e); } if (log.isLoggable(Level.FINEST)) { PrintWriter dbg = new PrintWriter(new LogWriter(log)); HessianDebugOutputStream dOs = new HessianDebugOutputStream(os, dbg); dOs.startTop2(); os = dOs; } AbstractHessianOutput out = _factory.getHessianOutput(os);
151152153154155156157158159160161162
PrintWriter dbg = createDebugPrintWriter(); HessianDebugInputStream dIs = new HessianDebugInputStream(is, dbg); dIs.startTop2(); is = dIs; HessianDebugOutputStream dOs = new HessianDebugOutputStream(os, dbg); dOs.startTop2(); os = dOs; } HessianInputFactory.HeaderType header = _inputFactory.readHeader(is);