com.gridsystems.innergrid.api
Class NoLingerSocketFactory

java.lang.Object
  extended by org.apache.axis.components.net.DefaultSocketFactory
      extended by com.gridsystems.innergrid.api.NoLingerSocketFactory
All Implemented Interfaces:
org.apache.axis.components.net.SocketFactory

public class NoLingerSocketFactory
extends org.apache.axis.components.net.DefaultSocketFactory

Socket factory that disables the SO_LINGER option of the created socket.

Version:
1.0
Author:
Rodrigo Ruiz

Field Summary
 
Fields inherited from class org.apache.axis.components.net.DefaultSocketFactory
attributes, CONNECT_TIMEOUT, log
 
Constructor Summary
NoLingerSocketFactory()
          Creates a new instance.
NoLingerSocketFactory(java.util.Hashtable attribs)
          Creates a new instance.
 
Method Summary
 java.net.Socket create(java.lang.String host, int port, java.lang.StringBuffer otherHeaders, org.apache.axis.components.net.BooleanHolder useFullURL)
          
 
Methods inherited from class org.apache.axis.components.net.DefaultSocketFactory
isHostInNonProxyList, match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoLingerSocketFactory

public NoLingerSocketFactory()
Creates a new instance.


NoLingerSocketFactory

public NoLingerSocketFactory(java.util.Hashtable attribs)
Creates a new instance.

Parameters:
attribs - The transport configuration properties
Method Detail

create

public java.net.Socket create(java.lang.String host,
                              int port,
                              java.lang.StringBuffer otherHeaders,
                              org.apache.axis.components.net.BooleanHolder useFullURL)
                       throws java.lang.Exception

Specified by:
create in interface org.apache.axis.components.net.SocketFactory
Overrides:
create in class org.apache.axis.components.net.DefaultSocketFactory
Throws:
java.lang.Exception


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.