/** Shut down communication with the autosampler. */ public void disconnect() { if (m_reader != null) { m_reader.quit(); m_reader.interrupt(); } if (m_sender != null) { m_sender.quit(); m_sender.interrupt(); } if (m_statusPoller != null) { m_statusPoller.quit(); m_statusPoller.interrupt(); } if (m_CryoSocket != null) { m_CryoSocket.disconnect(); m_CryoSocket = null; } }
public boolean paused() { if (m_statusPoller != null) return m_statusPoller.paused(); return false; }
public void pollStatus() { if (statusUpdate > 0) { m_statusPoller = new StatusPoller(statusUpdate); m_statusPoller.start(); } }
public void pause(boolean b) { if (m_statusPoller != null) m_statusPoller.pause(b); }