3334353637383940414243
// get the role of this agent RoleReply roleReply = agent.getRole(); // start watching client 0 agent.watch(0); // stop watching client 0 agent.unwatch(0); // close the agent and disconnect from NeuroServer.