public boolean canConnect ( ) { try { wake ( ) ; ClientSocket stream = open ( ) ; if ( stream != null ) { stream . free ( stream . getIdleStartTime ( ) ) ; return true ; } return false ; } catch ( Exception e ) { log . log ( Level . FINER , e . toString ( ) , e ) ; return false ; } }
Returns true if can connect to the client .