An implementation of resource-negotiating agents in telemanufacturing