Class MessageFactory


  • public class MessageFactory
    extends Object
    The factory which maps the message IDs to the IMessage instances.
    • Method Detail

      • createById

        public IMessage createById​(int id)
        Creates a new message instance which maps to the given ID
        Parameters:
        id - The ID of the message
        Returns:
        New instance of the associated message