org.apache.jcs.auxiliary.lateral.javagroups.utils
Class JGRpcOpener

java.lang.Object
  extended byorg.apache.jcs.auxiliary.lateral.javagroups.utils.JGRpcOpener
All Implemented Interfaces:
java.lang.Runnable

public class JGRpcOpener
extends java.lang.Object
implements java.lang.Runnable

Socket openere that will timeout on the initial connect rather than block forever. Technique from core java II.

Version:
$Id: JGRpcOpener.java,v 1.6 2005/06/04 02:01:55 asmuts Exp $

Constructor Summary
JGRpcOpener(ILateralCacheJGListener ilcl, ILateralCacheAttributes ilca, java.lang.String groupName)
          Constructor for the SocketOpener object
 
Method Summary
 org.jgroups.blocks.RpcDispatcher getSocket()
          Gets the socket attribute of the SocketOpener object
static org.jgroups.blocks.RpcDispatcher openSocket(ILateralCacheJGListener ilcl, ILateralCacheAttributes ilca, int timeOut, java.lang.String groupName)
          Constructor for the SocketOpener object
 void run()
          Main processing method for the SocketOpener object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGRpcOpener

public JGRpcOpener(ILateralCacheJGListener ilcl,
                   ILateralCacheAttributes ilca,
                   java.lang.String groupName)
Constructor for the SocketOpener object

Method Detail

openSocket

public static org.jgroups.blocks.RpcDispatcher openSocket(ILateralCacheJGListener ilcl,
                                                          ILateralCacheAttributes ilca,
                                                          int timeOut,
                                                          java.lang.String groupName)
Constructor for the SocketOpener object


run

public void run()
Main processing method for the SocketOpener object

Specified by:
run in interface java.lang.Runnable

getSocket

public org.jgroups.blocks.RpcDispatcher getSocket()
Gets the socket attribute of the SocketOpener object



Copyright © 2002-2005 Apache Software Foundation. All Rights Reserved.