Class STUN.StunServerAddress

  • Enclosing class:
    STUN

    public static class STUN.StunServerAddress
    extends java.lang.Object
    Provides easy abstract to store STUN Server Addresses and Ports.
    • Constructor Summary

      Constructors 
      Constructor Description
      StunServerAddress​(java.lang.String server, java.lang.String port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPort()
      Get the Server Port.
      java.lang.String getServer()
      Get the Host Address.
      • Methods inherited from class java.lang.Object

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

      • StunServerAddress

        public StunServerAddress​(java.lang.String server,
                                 java.lang.String port)
    • Method Detail

      • getServer

        public java.lang.String getServer()
        Get the Host Address.
        Returns:
        the host address
      • getPort

        public java.lang.String getPort()
        Get the Server Port.
        Returns:
        the server port