Implement Implement constructor for BarrierRequest and BarrierReply