Class DelagramApplication


  • @SpringBootApplication
    public class DelagramApplication
    extends Object
    The main class for the Spring Boot application.
    Author:
    swaroop_nath, mayankkakad
    • Field Detail

      • messages

        public static Vector<MyMessage> messages
        A public variable messages that is used for chat service
      • semaphore

        public static Semaphore semaphore
        A public variable semaphore that is used for a receiver thread to constantly check for new messages
    • Constructor Detail

      • DelagramApplication

        public DelagramApplication()
    • Method Detail

      • main

        public static void main​(String[] args)
                         throws IOException
        Main method of the application.
        Parameters:
        args - Command Line arguments.
        Throws:
        IOException - Thrown in case Firebase couldn't be loaded for the given configuration.