Class Server

  • All Implemented Interfaces:
    java.lang.Runnable

    public class Server
    extends java.lang.Object
    implements java.lang.Runnable
    Place class description here.
    Since:
    Author:
    Matthew Inger,
    • Constructor Summary

      Constructors 
      Constructor Description
      Server​(ServerTask task, int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Server

        public Server​(ServerTask task,
                      int port)
    • Method Detail

      • start

        public void start()
                   throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • stop

        public void stop()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable