com.caucho.hessian.client
Class AbstractHessianConnectionFactory

java.lang.Object
  extended by com.caucho.hessian.client.AbstractHessianConnectionFactory
All Implemented Interfaces:
HessianConnectionFactory

public abstract class AbstractHessianConnectionFactory
extends java.lang.Object
implements HessianConnectionFactory

Internal factory for creating connections to the server. The default factory is java.net


Constructor Summary
AbstractHessianConnectionFactory()
           
 
Method Summary
 HessianProxyFactory getHessianProxyFactory()
          The HessianProxyFactory contains some common network configuration like timeouts.
abstract  HessianConnection open(java.net.URL url)
          Opens a new or recycled connection to the HTTP server.
 void setHessianProxyFactory(HessianProxyFactory factory)
          The HessianProxyFactory contains some common network configuration like timeouts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractHessianConnectionFactory

public AbstractHessianConnectionFactory()
Method Detail

setHessianProxyFactory

public void setHessianProxyFactory(HessianProxyFactory factory)
The HessianProxyFactory contains some common network configuration like timeouts.

Specified by:
setHessianProxyFactory in interface HessianConnectionFactory

getHessianProxyFactory

public HessianProxyFactory getHessianProxyFactory()
The HessianProxyFactory contains some common network configuration like timeouts.


open

public abstract HessianConnection open(java.net.URL url)
                                throws java.io.IOException
Opens a new or recycled connection to the HTTP server.

Specified by:
open in interface HessianConnectionFactory
Throws:
java.io.IOException