Connector(Printer pr) throws IOException { printer = pr; sel = Selector.open(); setName("Connector"); }