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

Method pack_replyheader

lantz/drivers/legacy/rpc.py:122–128  ·  view source on GitHub ↗
(self, xid, verf)

Source from the content-addressed store, hash-verified

120 # Caller must add procedure-specific part of call
121
122 def pack_replyheader(self, xid, verf):
123 self.pack_uint(xid)
124 self.pack_enum(msg_type.REPLY)
125 self.pack_uint(reply_stat.MSG_ACCEPTED)
126 self.pack_auth(verf)
127 self.pack_enum(accept_stat.SUCCESS)
128 # Caller must add procedure-specific part of reply
129
130
131class Unpacker(xdrlib.Unpacker):

Callers

nothing calls this directly

Calls 1

pack_authMethod · 0.95

Tested by

no test coverage detected