* @param sdbc die ServerDBControl des Employees
* @param obj Das Object.
* @throws NetworkException Tritt auf, falls das Senden fehlschlägt.
*/
public boolean send(ServerDBControl sdbc, Response obj) throws NetworkException {
final ClientThread clientThread = sdbcs.get(sdbc);
if (clientThread == null) {
return false;
}
try {
clientThread.send(obj);
return true;
} catch (IOException ex) {
if (NetworkControl.wasCausedByClosedSocket(ex)) {
logger.info("Client closed the connection");
return false;