Did I find the right examples for you? yes no

All Samples(8)  |  Call(7)  |  Derive(0)  |  Import(1)

src/p/y/pymumble-HEAD/mumble.py   pymumble(Download)
    def ping(self):
        """Send the keepalive through available channels"""
#TODO: Ping counters        
        ping = mumble_pb2.Ping()
        ping.timestamp=int(time.time())
 
        elif type == PYMUMBLE_MSG_TYPES_PING:
            mess = mumble_pb2.Ping()
            mess.ParseFromString(message)
            self.Log.debug("message: Ping : %s", mess)

src/m/u/mumble-bots-HEAD/mumble/protocol.py   mumble-bots(Download)
def ping(timestamp = None):
  msg = mumble_pb2.Ping()
  if timestamp: msg.timestamp = timestamp
  return serialize_(msg)