public void sendMessage(byte[] msg) throws Exception {
   m_SendQueue.put(msg);
 }
 public byte[] receiveMessage() throws Exception {
   return (byte[]) m_ReceiveQueue.take();
 } // receiveMessage
 protected boolean hasResponse() {
   return !m_ReceiveQueue.isEmpty();
 }