@@ -0,0 +1,992 @@
+package de.teiesti.postie;%0A%0Aimport org.pmw.tinylog.Logger;%0A%0Aimport java.io.IOException;%0Aimport java.net.ServerSocket;%0Aimport java.net.Socket;%0Aimport java.util.Set;%0A%0Apublic class Office %7B%0A%0A%09private ServerSocket serverSocket;%0A%0A%09private Postman blueprint;%0A%0A%09private Set%3CPostman%3E postmen;%0A%0A%09private Thread acceptor;%0A%0A%09public Office bind(ServerSocket socket) %7B%0A%09%09// FIXME%0A%09%09return this;%0A%09%7D%0A%0A%09public Office spawn(Postman blueprint) %7B%0A%09%09// FIXME%0A%09%09return this;%0A%09%7D%0A%0A%09public Office start() %7B%0A%09%09acceptor = new Acceptor();%0A%09%09acceptor.start();%0A%0A%09%09return this;%0A%09%7D%0A%0A%09public Office stop() %7B%0A%09%09// FIXME how to do this?%0A%09%09return this;%0A%09%7D%0A%0A%09private class Acceptor extends Thread %7B%0A%0A%09 %09@Override%0A%09%09public void run() %7B%0A%09%09%09Socket socket;%0A%09%09%09Postman postman;%0A%09%09%09while (!isInterrupted()) %7B%0A%09%09%09%09try %7B%0A%09%09%09%09%09socket = serverSocket.accept();%0A%09%09%09%09%09postman = blueprint.clone().bind(socket).start();%0A%09%09%09%09%09postmen.add(postman);%0A%09%09%09%09%7D catch (IOException e) %7B%0A%09%09%09%09%09Logger.error(e);%0A%09%09%09%09%09System.exit(1);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%0A%09%09%7D%0A%0A%09%7D%0A%0A%7D%0A

Revert "Prepare for the 0.2.0 release."