public Nfs3LookupResponse wrapped_getLookup(NfsLookupRequest request) throws IOException {
        RpcResponseHandler<Nfs3LookupResponse> responseHandler = new NfsResponseHandler<Nfs3LookupResponse>() {

            /* (non-Javadoc)
             * @see com.emc.ecs.nfsclient.rpc.RpcResponseHandler#makeNewResponse()
             */
            protected Nfs3LookupResponse makeNewResponse() {
                return new Nfs3LookupResponse();
            }

            /* (non-Javadoc)
             * @see com.emc.ecs.nfsclient.nfs.NfsResponseHandler#checkResponse(com.emc.ecs.nfsclient.rpc.RpcRequest)
             */
            public void checkResponse(RpcRequest request) throws IOException {
                // If the root file handle is bad, we should mount again.
                if ((getResponse().getState() == NfsStatus.NFS3ERR_BADHANDLE.getValue())
                 && (((NfsLookupRequest)request).getFileHandle() == _rootFileHandle)) {
                    prepareRootFhAndNfsPort();
                }
                super.checkResponse(request);
            }

        };
        _rpcWrapper.callRpcWrapped(request, responseHandler);
        return responseHandler.getResponse();
    }
public Nfs3LookupResponse wrapped_getLookup ( NfsLookupRequest request ) throws IOException { RpcResponseHandler < Nfs3LookupResponse > responseHandler = new NfsResponseHandler < Nfs3LookupResponse > ( ) { protected Nfs3LookupResponse makeNewResponse ( ) { return new Nfs3LookupResponse ( ) ; } public void checkResponse ( RpcRequest request ) throws IOException { if ( ( getResponse ( ) . getState ( ) == NfsStatus . NFS3ERR_BADHANDLE . getValue ( ) ) && ( ( ( NfsLookupRequest ) request ) . getFileHandle ( ) == _rootFileHandle ) ) { prepareRootFhAndNfsPort ( ) ; } super . checkResponse ( request ) ; } } ; _rpcWrapper . callRpcWrapped ( request , responseHandler ) ; return responseHandler . getResponse ( ) ; }
/* (non-Javadoc)
@see com.emc.ecs.nfsclient.nfs.Nfs#wrapped_getLookup(com.emc.ecs.nfsclient.nfs.NfsLookupRequest)