Class DatagramThread

  • All Implemented Interfaces:
    java.lang.Runnable

    public class DatagramThread
    extends RecieverThread
    DatagramThread
    • Constructor Detail

      • DatagramThread

        public DatagramThread​(ServiceAgent pSrvAgent)
        Ctor.
        Parameters:
        pSrvAgent -
    • Method Detail

      • joinGroup

        public void joinGroup​(java.net.InetAddress pGroup)
                       throws java.io.IOException
        joinGroup
        Parameters:
        pGroup -
        Throws:
        java.io.IOException
      • leaveGroup

        public void leaveGroup​(java.net.InetAddress pGroup)
                        throws java.io.IOException
        leaveGroup
        Parameters:
        pGroup -
        Throws:
        java.io.IOException
      • init

        protected void init()
                     throws java.io.IOException
        Specified by:
        init in class RecieverThread
        Throws:
        java.io.IOException
      • mainLoop

        protected void mainLoop()
                         throws java.io.IOException
        Specified by:
        mainLoop in class RecieverThread
        Throws:
        java.io.IOException