Class TCPIPCNSServer2


  • public class TCPIPCNSServer2
    extends java.lang.Object

    Program to run a Channel Name Service. The service will listen on all locally available addresses using either a default port of 7890 or a port specified in the XML file.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static One2OneChannel terminate
      For use by other sub classes of this class to terminate the server.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TCPIPCNSServer2()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Main method, running the service.
      • Methods inherited from class java.lang.Object

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

      • terminate

        static final One2OneChannel terminate
        For use by other sub classes of this class to terminate the server. To terminate the server write a null to this channel. This gets used in the NT service implementation to response to the STOP event.
    • Constructor Detail

      • TCPIPCNSServer2

        private TCPIPCNSServer2()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Main method, running the service. This will never terminate if the service can be started.