KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > tools > remote > caucho > hessian > HessianClientInvoker


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.tools.remote.caucho.hessian;
10
11 import java.io.InputStream JavaDoc;
12 import java.io.OutputStream JavaDoc;
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 {
23    public HessianClientInvoker(String JavaDoc endpoint)
24    {
25       super(endpoint);
26    }
27
28    protected CauchoInput createCauchoInput(InputStream JavaDoc stream)
29    {
30       return new HessianCauchoInput(stream);
31    }
32
33    protected CauchoOutput createCauchoOutput(OutputStream JavaDoc stream)
34    {
35       return new HessianCauchoOutput(stream);
36    }
37 }
38
Popular Tags