public void start() throws IOException { log.trace("start()"); if (stopped) { throw new IOException("Unable to start connector as already stopped."); } // If this ConnectorServer has already started just return. if (started) { return; } log.trace("Registering service"); registration = endpoint.registerService(CHANNEL_NAME, new ChannelOpenListener(), OptionMap.EMPTY); started = true; }
public void start() throws IOException { log.trace("start()"); if (stopped) { throw new IOException("Unable to start connector as already stopped."); } // If this ConnectorServer has already started just return. if (started) { return; } log.trace("Registering service"); registration = endpoint.registerService(CHANNEL_NAME, new ChannelOpenListener(), OptionMap.EMPTY); started = true; }
public void start() throws IOException { log.trace("start()"); if (stopped) { throw new IOException("Unable to start connector as already stopped."); } // If this ConnectorServer has already started just return. if (started) { return; } log.trace("Registering service"); registration = endpoint.registerService(CHANNEL_NAME, new ChannelOpenListener(), OptionMap.EMPTY); started = true; }