/** * ISOMUXs usually calls connect() on the underlying ISOChannel<br> * You can prevent this behaveour by passing a false value. * @param connect false to prevent connection (default true) */ public void setConnect (boolean connect) { this.doConnect = connect; if (!connect && isConnected()) { channel.setUsable(false); try { channel.disconnect(); } catch (IOException e) { Logger.log (new LogEvent(this, "set-connect", e)); } synchronized(this) { this.notify(); } } } /**
channel.setUsable(false); if (!(e instanceof EOFException)) Logger.log (new LogEvent (this, "muxreceiver", e));