A utility for connecting separate inbound and outbound TransortLayer
s in a manner that avoids deadlock.
It is not safe to call connect() on two TransportLayer
in the same thread, because it blocks, and the remote system may be doing the same thing, but in the opposite order. This class provides a method that connects two layers in separate threads, and pends until they are both connected.
@author
Bryan Tripp
@version $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:26 $ by $Author: jamesagnew $