01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package mx4j.tools.remote.caucho.hessian;
10:
11: import java.io.InputStream;
12: import java.io.OutputStream;
13:
14: import mx4j.tools.remote.caucho.CauchoClientInvoker;
15: import mx4j.tools.remote.caucho.CauchoInput;
16: import mx4j.tools.remote.caucho.CauchoOutput;
17:
18: /**
19: * @version $
20: */
21: public class HessianClientInvoker extends CauchoClientInvoker {
22: public HessianClientInvoker(String endpoint) {
23: super (endpoint);
24: }
25:
26: protected CauchoInput createCauchoInput(InputStream stream) {
27: return new HessianCauchoInput(stream);
28: }
29:
30: protected CauchoOutput createCauchoOutput(OutputStream stream) {
31: return new HessianCauchoOutput(stream);
32: }
33: }
|