Logo Search packages:      
Sourcecode: r-cran-nws version File versions  Download package

def nwsclient::NwsServer::deleteWs (   self,
  wsName 
)
Delete the specfied workspace on the NWS server.

s.deleteWs(wsName)

Arguments:

wsName -- Name of the workspace to delete.

Definition at line 208 of file nwsclient.py.

                              :
        """Delete the specfied workspace on the NWS server.

        s.deleteWs(wsName)

        Arguments:

        wsName -- Name of the workspace to delete.

        """
        if type(wsName) != str:
            raise TypeError, 'workspace name must be a string'

        op = 'delete ws'

        self._sendAll('0002%020d%s%020d%s' % (len(op), op, len(wsName), wsName))

        status = self._recvN(4) # unused at the moment.


Generated by  Doxygen 1.6.0   Back to index