public void start ( ) { setStatus ( ConnectionStatus . NOT_CONNECTED ) ; InetSocketAddress address = directoryServer ; clientSocket . connect ( address ) ; eventThread . start ( ) ; connectionThread = new Thread ( new ConnectTask ( ) ) ; connectionThread . setDaemon ( true ) ; connectionThread . setName ( ServiceDirectoryThread . getThreadName ( "Client_Connect_Thread" ) ) ; connectionThread . start ( ) ; }
Start the DirectoryConnection .