Lines Matching refs:token
68 """A fixed length message header; cmd, token, status and length of protobuf."""
71 self.token = 0
86 mh.token = self.token
102 self.token = mh.token
120 self.token = 0
123 def sendMsg(self, s, cmd, token, protobuf=''):
129 token: token to send, will be returned unmodified
136 self.token = token
141 self.header.token = self.token
163 self.token = self.header.token
214 print "token=%d" % (resp.token)
218 if ((resp.cmd == 0) & (resp.token == 1234567890123) &
222 print "ERROR: expecting cmd=0 token=1234567890123 status=0 state=1"
230 print "token=%d" % (resp.token)