Provide interface for network classes to call upon receiving a message.