fUML-Driven Design and Performance Analysis of Software Agents for Wireless Sensor Network.