Class VirtualAddress

java.lang.Object
java.net.SocketAddress
io.quarkus.netty.runtime.virtual.VirtualAddress
All Implemented Interfaces:
Serializable, Comparable<VirtualAddress>

public final class VirtualAddress extends SocketAddress implements Comparable<VirtualAddress>
An endpoint in the local transport. Each endpoint is identified by a unique case-insensitive string.
See Also:
  • Field Details

  • Constructor Details

    • VirtualAddress

      VirtualAddress(io.netty.channel.Channel channel)
      Creates a new ephemeral port based on the ID of the specified channel. Note that we prepend an upper-case character so that it never conflicts with the addresses created by a user, which are always lower-cased on construction time.
    • VirtualAddress

      public VirtualAddress(String id)
      Creates a new instance with the specified ID.
  • Method Details