// Open the connection once (or re-open after an
// IOException), so we don't end up
// in a race condition, where a push is lost if it comes in
// before the connection
// is open again. We open the url with a parameter that
// indicates that we should
// always use MDS when attempting to connect.
HttpClient con=new HttpClient();
_notify = con.getStreamConnectionNotifier(URL);
}
while (!_stop) {