java/protoCtrl/src/main/java/com/pravala/protocol/ctrl/SocketMessageManager.java
public boolean start ( InetSocketAddress addr, int timeout )
    {
        synchronized ( this )
        {
            if ( ctrlLink != null )
                return false;

            ctrlLink = new Link ( addr, timeout );
        }

        return true;
    }
/**
     * Start SocketMessageManager to connect and process messages over a TCP socket
     *
     * @param addr IP address and port to connect to
     * @param timeout Connection timeout value in milliseconds.
     * @return True on success; False if the manager is already running.
     */
Start SocketMessageManager to connect and process messages over a TCP socket
@param addr IP address and port to connect to
@param timeout Connection timeout value in milliseconds.
@return True on success; False if the manager is already running.
Start SocketMessageManager to connect and process messages over a TCP socket @param addr IP address and port to connect to @param timeout Connection timeout value in milliseconds . @return True on success ; False if the manager is already running .
public boolean start ( InetSocketAddress addr, int timeout )
    {
        synchronized ( this )
        {
            if ( ctrlLink != null )
                return false;
            ctrlLink = new Link ( addr, timeout );
        }
        return true;
    }
public boolean start ( InetSocketAddress addr , int timeout ) { synchronized ( this ) { if ( ctrlLink != null ) return false ; ctrlLink = new Link ( addr , timeout ) ; } return true ; }
Start SocketMessageManager to connect and process messages over a TCP socket
 @param addr IP address and port to connect to
 @param timeout Connection timeout value in milliseconds.
Start SocketMessageManager to connect and process messages over a TCP socket @param addr IP address and port to connect to @param timeout Connection timeout value in milliseconds .