Class Discovery.Advertisement

java.lang.Object
com.codename1.backend.Discovery.Advertisement
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Discovery

public static final class Discovery.Advertisement extends Object implements AutoCloseable
A running advertisement.
  • Method Details

    • getName

      public String getName()
      The name taken, which has a suffix when another host had the one asked for.
    • close

      public void close()
      Withdraws the service; browsers see it go at once.
      Specified by:
      close in interface AutoCloseable