@ -200,6 +200,7 @@ printf("[RAJA DEBUG 400.0] Got '%s' from the server\n\r", response.ascii()); ffl
connToServerConnecting=false;
connToServerConnecting=false;
disconnectFromServer();
disconnectFromServer();
KMessageBox::error(0,i18n("<qt>Unable to establish connection with backend server<p>Please verify that you are currently connected to a workspace</qt>"),i18n("Connection Failed"));
KMessageBox::error(0,i18n("<qt>Unable to establish connection with backend server<p>Please verify that you are currently connected to a workspace</qt>"),i18n("Connection Failed"));
close();
return;
return;
}
}
elseif(response=="ERRNOTAVL"){
elseif(response=="ERRNOTAVL"){
@ -207,6 +208,7 @@ printf("[RAJA DEBUG 400.0] Got '%s' from the server\n\r", response.ascii()); ffl
connToServerConnecting=false;
connToServerConnecting=false;
disconnectFromServer();
disconnectFromServer();
KMessageBox::error(0,i18n("<qt>The backend server is not available at this time<p>Please try a different workspace, or try again later</qt>"),i18n("Connection Failed"));
KMessageBox::error(0,i18n("<qt>The backend server is not available at this time<p>Please try a different workspace, or try again later</qt>"),i18n("Connection Failed"));
close();
return;
return;
}
}
elseif(response=="ERRNOSERV"){
elseif(response=="ERRNOSERV"){
@ -214,6 +216,7 @@ printf("[RAJA DEBUG 400.0] Got '%s' from the server\n\r", response.ascii()); ffl
connToServerConnecting=false;
connToServerConnecting=false;
disconnectFromServer();
disconnectFromServer();
KMessageBox::error(0,i18n("<qt>The active laboratory workspace does not support the requested service</qt>"),i18n("Service Unavailable"));
KMessageBox::error(0,i18n("<qt>The active laboratory workspace does not support the requested service</qt>"),i18n("Service Unavailable"));
close();
return;
return;
}
}
else{
else{
@ -221,6 +224,7 @@ printf("[RAJA DEBUG 400.0] Got '%s' from the server\n\r", response.ascii()); ffl
connToServerConnecting=false;
connToServerConnecting=false;
disconnectFromServer();
disconnectFromServer();
KMessageBox::error(0,i18n("<qt>Unable to establish connection with remote server</qt>"),i18n("Connection Failed"));
KMessageBox::error(0,i18n("<qt>Unable to establish connection with remote server</qt>"),i18n("Connection Failed"));
close();
return;
return;
}
}
break;
break;
@ -236,6 +240,7 @@ int FPGAViewPart::connectToServer(TQString server) {