Boyfriend dumped me

Just yesterday he sent me a text saying we weren't on the same "wave length" and that we didn't need to be together. Then he went on to say we can still be friends. I really don't know what to feel. I cried a whole lot but now I'm like... I don't even know. 
A part of me really wants to talk to him but the other part of me feels is not worth it. What should I do? 
(Been together for a year)