* @param socket Socket to communicate with the client.
* @throws IOException
* @throws NotBoundException
*/
public ClientHandler(Socket socket) throws IOException, NotBoundException {
this.cart = new ServerSideClientCart();
this.socket = socket;
this.outputStream = new ObjectOutputStream(socket.getOutputStream());
this.inputStream = new ObjectInputStream(socket.getInputStream());
}