private ServerFacade facade;
private PipedConnection communication;
public synchronized void run() {
while (true) {
final Request request = communication.getRequest();
LOG.debug("client request: " + request);
try {
request.execute(facade);
final ResponseEnvelope response = new ResponseEnvelope(request);
LOG.debug("server response: " + response);
communication.setResponse(response);
} catch (final RuntimeException e) {
communication.setException(e);