MCPcopy Create free account
hub / github.com/LabPy/lantz / pack_callheader

Method pack_callheader

lantz/drivers/legacy/rpc.py:111–120  ·  view source on GitHub ↗
(self, xid, prog, vers, proc, cred, verf)

Source from the content-addressed store, hash-verified

109 self.pack_uint(i)
110
111 def pack_callheader(self, xid, prog, vers, proc, cred, verf):
112 self.pack_uint(xid)
113 self.pack_enum(msg_type.CALL)
114 self.pack_uint(RPCVERSION)
115 self.pack_uint(prog)
116 self.pack_uint(vers)
117 self.pack_uint(proc)
118 self.pack_auth(cred)
119 self.pack_auth(verf)
120 # Caller must add procedure-specific part of call
121
122 def pack_replyheader(self, xid, verf):
123 self.pack_uint(xid)

Callers 1

start_callMethod · 0.80

Calls 1

pack_authMethod · 0.95

Tested by

no test coverage detected