if(pendingQuit)
throw new ClientRuntimeException("Pipeline shutting down: Quit in progess; no further requests are accepted.");
Protocol protocol = Assert.notNull(getProtocolHandler(), "thread protocol handler", ProviderException.class);
Request request = Assert.notNull(protocol.createRequest (cmd, args), "request object from handler", ProviderException.class);
PendingRequest pendingResponse = new PendingRequest(cmd);
if(cmd == Command.CONN_FLUSH) {
Log.log("%s not supported -- ignored", cmd.code);
return pendingResponse;