Class NatCheckerServer

  • All Implemented Interfaces:
    java.lang.Runnable

    public class NatCheckerServer
    extends AEThread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Constructor Summary

      Constructors 
      Constructor Description
      NatCheckerServer​(java.net.InetAddress _bind_ip, int _port, java.lang.String _check, boolean _http_test)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.nio.ByteBuffer getMessage()  
      void runSupport()  
      void stopIt()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

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

      • LOGID

        static final LogIDs LOGID
      • incoming_handshake

        private static final java.lang.String incoming_handshake
        See Also:
        Constant Field Values
      • bind_ip

        private final java.net.InetAddress bind_ip
      • bind_ip_set

        private boolean bind_ip_set
      • check

        private final java.lang.String check
      • http_test

        private final boolean http_test
      • server

        private java.net.ServerSocket server
      • bContinue

        private volatile boolean bContinue
      • use_incoming_router

        private final boolean use_incoming_router
    • Constructor Detail

      • NatCheckerServer

        public NatCheckerServer​(java.net.InetAddress _bind_ip,
                                int _port,
                                java.lang.String _check,
                                boolean _http_test)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • getMessage

        protected java.nio.ByteBuffer getMessage()
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • stopIt

        public void stopIt()