Markov-modulation of a two sided reflected Brownian motion with applications to fluid queues