Class NetherNetDiscoverySignaling

java.lang.Object
org.cloudburstmc.netty.channel.nethernet.signaling.NetherNetDiscoverySignaling
All Implemented Interfaces:
AutoCloseable, NetherNetClientSignaling, NetherNetServerSignaling, NetherNetSignaling

public class NetherNetDiscoverySignaling extends Object implements NetherNetClientSignaling, NetherNetServerSignaling
  • Constructor Details

    • NetherNetDiscoverySignaling

      public NetherNetDiscoverySignaling()
      Creates a NetherNetDiscoverySignaling with a random local Network ID and binds to an ephemeral port.
    • NetherNetDiscoverySignaling

      public NetherNetDiscoverySignaling(long localNetworkId)
      Creates a NetherNetDiscoverySignaling with the specified local Network ID.
      Parameters:
      localNetworkId - The local Network ID to use.
    • NetherNetDiscoverySignaling

      public NetherNetDiscoverySignaling(long localNetworkId, InetSocketAddress bindAddress)
      Creates a NetherNetDiscoverySignaling with the specified local Network ID and bind address.
      Parameters:
      localNetworkId - The local Network ID to use.
      bindAddress - The address to bind the discovery socket to.
  • Method Details