(self)
| 136 | return (flavor, stuff) |
| 137 | |
| 138 | def unpack_callheader(self): |
| 139 | xid = self.unpack_uint() |
| 140 | temp = self.unpack_enum() |
| 141 | if temp != msg_type.CALL: |
| 142 | raise RPCBadFormat('no CALL but %r' % (temp,)) |
| 143 | temp = self.unpack_uint() |
| 144 | if temp != RPCVERSION: |
| 145 | raise RPCBadVersion('bad RPC version %r' % (temp,)) |
| 146 | prog = self.unpack_uint() |
| 147 | vers = self.unpack_uint() |
| 148 | proc = self.unpack_uint() |
| 149 | cred = self.unpack_auth() |
| 150 | verf = self.unpack_auth() |
| 151 | return xid, prog, vers, proc, cred, verf |
| 152 | # Caller must add procedure-specific part of call |
| 153 | |
| 154 | def unpack_replyheader(self): |
| 155 | xid = self.unpack_uint() |
nothing calls this directly
no test coverage detected