xsul.dispatcher.msg.wsconnection
Class PoolWSConnection

java.lang.Object
  extended byxsul.dispatcher.msg.wsconnection.PoolWSConnection

public class PoolWSConnection
extends java.lang.Object

Pool of connections threads with WS.

You can configure it with the default.properties file.

Author:
Alexandre di Costanzo

Constructor Summary
PoolWSConnection(RoutingTable routingTable)
          Create a new pool.
 
Method Summary
 void execute(MSGWSConnection connection)
          Start a new thread from the pool.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolWSConnection

public PoolWSConnection(RoutingTable routingTable)
Create a new pool.

Parameters:
routingTable - the Routing Table used to find WS informations.
Method Detail

execute

public void execute(MSGWSConnection connection)
             throws java.lang.InterruptedException
Start a new thread from the pool.

Parameters:
connection - the connection to start in a thread.
Throws:
java.lang.InterruptedException - troubles.


IU Extreme! Lab (http://www.extreme.indiana.edu)