@Override
    public GuacamoleReader acquireReader() {
        readerLock.lock();
        return getSocket().getReader();
    }
Acquires exclusive read access to the Guacamole instruction stream
and returns a GuacamoleReader for reading from that stream.

@return A GuacamoleReader for reading from the Guacamole instruction
        stream.
guacamole-common/src/main/java/org/apache/guacamole/net/AbstractGuacamoleTunnel.java