Activation and inhibition of adaptive immune response mediated by mast cells