messageQueue.removeElementAt( 0 );
}
}
messageQueue.addElement( pd );
messageQueue.notify();
}
} catch( IOException e1 ) {
// a problem occurred with the input stream
// however, the original StreamConnectionNotifier is still valid
if( inputStream != null ) {