/** * creates a {@link Pipe} that dumps messages that pass through. */ public Pipe createDumpPipe(String name, PrintStream out, Pipe next) { return PipeAdapter.adapt(super.createDumpTube(name, out, PipeAdapter.adapt(next))); }
/** * creates a {@link Pipe} that dumps messages that pass through. */ public Pipe createDumpPipe(String name, PrintStream out, Pipe next) { return PipeAdapter.adapt(super.createDumpTube(name, out, PipeAdapter.adapt(next))); }
/** * creates a {@link Pipe} that dumps messages that pass through. */ public Pipe createDumpPipe(String name, PrintStream out, Pipe next) { return PipeAdapter.adapt(super.createDumpTube(name, out, PipeAdapter.adapt(next))); }
@NotNull public Tube createClient(ClientTubeAssemblerContext context) { Tube head = context.createTransportTube(); head = context.createSecurityTube(head); if (dump) { // for debugging inject a dump pipe. this is left in the production code, // as it would be very handy for a trouble-shooting at the production site. head = context.createDumpTube("client", System.out, head); } head = context.createWsaTube(head); head = context.createClientMUTube(head); head = context.createValidationTube(head); return context.createHandlerTube(head); }
@NotNull public Tube createClient(ClientTubeAssemblerContext context) { Tube head = context.createTransportTube(); head = context.createSecurityTube(head); if (dump) { // for debugging inject a dump pipe. this is left in the production code, // as it would be very handy for a trouble-shooting at the production site. head = context.createDumpTube("client", System.out, head); } head = context.createWsaTube(head); head = context.createClientMUTube(head); head = context.createValidationTube(head); return context.createHandlerTube(head); }
@NotNull public Tube createClient(ClientTubeAssemblerContext context) { Tube head = context.createTransportTube(); head = context.createSecurityTube(head); if (dump) { // for debugging inject a dump pipe. this is left in the production code, // as it would be very handy for a trouble-shooting at the production site. head = context.createDumpTube("client", System.out, head); } head = context.createWsaTube(head); head = context.createClientMUTube(head); head = context.createValidationTube(head); return context.createHandlerTube(head); }