15161718192021222324
} public static void main(String[] args) { // create a new ControlAgent ControlAgent agent = new ControlAgent("localhost", 8336); // close the agent and disconnect from NeuroServer. agent.close(); }