Methods in Java interface MessageListener (4 Methods)