Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public static final class Discovery.Advertisement

  1. Object
  2. Discovery.Advertisement

ImplementsAutoCloseable

A running advertisement.

Methods

public String getName()The name taken, which has a suffix when another host had the one asked for.
public void close()Withdraws the service; browsers see it go at once.

Inherited methods

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.