edu.cuny.cat.comm
Class CallBasedCatpClientConnector

java.lang.Object
  extended by edu.cuny.cat.comm.CallBasedCatpClientConnector
All Implemented Interfaces:
ClientConnector<CatpMessage>, Connector

public class CallBasedCatpClientConnector
extends java.lang.Object
implements ClientConnector<CatpMessage>

The implementation of ClientConnector when CallBasedInfrastructureImpl is used.

Version:
$Revision: 1.7 $
Author:
Jinzhong Niu

Constructor Summary
CallBasedCatpClientConnector()
           
 
Method Summary
 Connection<CatpMessage> connect()
          connects to a server until a Connection is established to the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallBasedCatpClientConnector

public CallBasedCatpClientConnector()
Method Detail

connect

public Connection<CatpMessage> connect()
                                throws ConnectionException
Description copied from interface: ClientConnector
connects to a server until a Connection is established to the server. The concrete way to reach the server is defined by the current Infrastructure implementation.

Specified by:
connect in interface ClientConnector<CatpMessage>
Returns:
an instance of CallBasedCatpConnection.
Throws:
ConnectionException