def MOUNTPROC3_EXPORT(self): procedure_id = 5 res = self.call(procedure_id, '') unpacker = pack.protUnpacker(res) res = unpacker.unpack_exportsopt3() unpacker.done() return res
def PMAPPROC_DUMP(self): procedure_id = 4 res = self.call(procedure_id, '') unpacker = pack.protUnpacker(res) res = unpacker.unpack_pmaplist() unpacker.done() return res
def MOUNTPROC3_DUMP(self): procedure_id = 2 res = self.call(procedure_id, '') unpacker = pack.protUnpacker(res) res = unpacker.unpack_mountopt3() unpacker.done() return res
def MOUNTPROC3_MNT(self, p0): procedure_id = 1 packer = pack.protPacker() packer.pack_dirpath3(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_mountres3() unpacker.done() return res
def handle_1(self, packeddata): unpacker = pack.protUnpacker(packeddata) p0 = unpacker.unpack_mapping() unpacker.done() res = self.PMAPPROC_SET(p0) packer = pack.protPacker() packer.pack_xbool(res) res = packer.get_buffer() return (MSG_ACCEPTED, res)
def handle_3(self, packeddata): unpacker = pack.protUnpacker(packeddata) p0 = unpacker.unpack_mapping() unpacker.done() res = self.PMAPPROC_GETPORT(p0) packer = pack.protPacker() packer.pack_uint32(res) res = packer.get_buffer() return (MSG_ACCEPTED, res)
def handle_8(self, packeddata): unpacker = pack.protUnpacker(packeddata) p0 = unpacker.unpack_CREATE3args() unpacker.done() res = self.NFSPROC3_CREATE(p0) packer = pack.protPacker() packer.pack_CREATE3res(res) res = packer.get_buffer() return (MSG_ACCEPTED, res)
def handle_1(self, packeddata): unpacker = pack.protUnpacker(packeddata) p0 = unpacker.unpack_dirpath3() unpacker.done() res = self.MOUNTPROC3_MNT(p0) packer = pack.protPacker() packer.pack_mountres3(res) res = packer.get_buffer() return (MSG_ACCEPTED, res)
def handle_20(self, packeddata): unpacker = pack.protUnpacker(packeddata) p0 = unpacker.unpack_PATHCONF3args() unpacker.done() res = self.NFSPROC3_PATHCONF(p0) packer = pack.protPacker() packer.pack_PATHCONF3res(res) res = packer.get_buffer() return (MSG_ACCEPTED, res)
def handle_17(self, packeddata): unpacker = pack.protUnpacker(packeddata) p0 = unpacker.unpack_READDIRPLUS3args() unpacker.done() res = self.NFSPROC3_READDIRPLUS(p0) packer = pack.protPacker() packer.pack_READDIRPLUS3res(res) res = packer.get_buffer() return (MSG_ACCEPTED, res)
def PMAPPROC_UNSET(self, p0): procedure_id = 2 packer = pack.protPacker() packer.pack_mapping(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_xbool() unpacker.done() return res
def PMAPPROC_CALLIT(self, p0): procedure_id = 5 packer = pack.protPacker() packer.pack_call_args(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_call_result() unpacker.done() return res
def handle_5(self, packeddata): unpacker = pack.protUnpacker(packeddata) p0 = unpacker.unpack_call_args() unpacker.done() res = self.PMAPPROC_CALLIT(p0) packer = pack.protPacker() packer.pack_call_result(res) res = packer.get_buffer() return (MSG_ACCEPTED, res)
def NFSPROC3_COMMIT(self, p0): procedure_id = 21 packer = pack.protPacker() packer.pack_COMMIT3args(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_COMMIT3res() unpacker.done() return res
def NFSPROC3_PATHCONF(self, p0): procedure_id = 20 packer = pack.protPacker() packer.pack_PATHCONF3args(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_PATHCONF3res() unpacker.done() return res
def PMAPPROC_GETPORT(self, p0): procedure_id = 3 packer = pack.protPacker() packer.pack_mapping(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_uint32() unpacker.done() return res
def NFSPROC3_FSINFO(self, p0): procedure_id = 19 packer = pack.protPacker() packer.pack_FSINFO3args(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_FSINFO3res() unpacker.done() return res
def NFSPROC3_READDIRPLUS(self, p0): procedure_id = 17 packer = pack.protPacker() packer.pack_READDIRPLUS3args(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_READDIRPLUS3res() unpacker.done() return res
def NFSPROC3_WRITE(self, p0): procedure_id = 7 packer = pack.protPacker() packer.pack_WRITE3args(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_WRITE3res() unpacker.done() return res
def NFSPROC3_SYMLINK(self, p0): procedure_id = 10 packer = pack.protPacker() packer.pack_SYMLINK3args(p0) res = self.call(procedure_id, packer.get_buffer()) unpacker = pack.protUnpacker(res) res = unpacker.unpack_SYMLINK3res() unpacker.done() return res
def handle_3(self, packeddata): unpacker = pack.protUnpacker(packeddata) p0 = unpacker.unpack_dirpath3() unpacker.done() res = self.MOUNTPROC3_UMNT(p0) return (MSG_ACCEPTED, '')