org.testng.internal.remote
Class SlavePool

java.lang.Object
  extended by org.testng.internal.remote.SlavePool

public class SlavePool
extends java.lang.Object

This class maintains a pool of slaves (represented by sockets).

Author:
cbeust

Constructor Summary
SlavePool()
           
 
Method Summary
 void addSlave(java.net.Socket s)
           
 void addSlaves(java.net.Socket[] slaves)
           
 ConnectionInfo getSlave()
           
 void returnSlave(ConnectionInfo slave)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlavePool

public SlavePool()
Method Detail

addSlaves

public void addSlaves(java.net.Socket[] slaves)
               throws java.io.IOException
Throws:
java.io.IOException

addSlave

public void addSlave(java.net.Socket s)

getSlave

public ConnectionInfo getSlave()

returnSlave

public void returnSlave(ConnectionInfo slave)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.