java/protoCtrl/src/main/java/com/pravala/protocol/ctrl/SocketMessageManager.java
public void stop()
    {
        Link curLink = null;

        synchronized ( this )
        {
            curLink = ctrlLink;
            ctrlLink = null;
        }

        if ( curLink != null )
        {
            curLink.stop();
        }
    }
/**
     * Stops the processing of messages.
     */
Stops the processing of messages.
Stops the processing of messages .
public void stop()
    {
        Link curLink = null;
        synchronized ( this )
        {
            curLink = ctrlLink;
            ctrlLink = null;
        }
        if ( curLink != null )
        {
            curLink.stop();
        }
    }
public void stop ( ) { Link curLink = null ; synchronized ( this ) { curLink = ctrlLink ; ctrlLink = null ; } if ( curLink != null ) { curLink . stop ( ) ; } }
Stops the processing of messages.
Stops the processing of messages .