public class BeaconReactorBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BeaconReactorBuilder.Spec |
Constructor and Description |
---|
BeaconReactorBuilder(ManagedContext context) |
Modifier and Type | Method and Description |
---|---|
BeaconReactor |
build() |
BeaconReactor |
start() |
BeaconReactorBuilder |
withBeacon(UdpBeacon beacon) |
BeaconReactorBuilder |
withBroadcastInterval(long broadcastInterval) |
BeaconReactorBuilder |
withIgnoreLocalAddress(boolean ignoreLocalAddress) |
BeaconReactorBuilder |
withListener(BeaconListener listener) |
BeaconReactorBuilder |
withPort(int port) |
public BeaconReactorBuilder(ManagedContext context)
public BeaconReactorBuilder withBeacon(UdpBeacon beacon)
public BeaconReactorBuilder withPort(int port)
public BeaconReactorBuilder withListener(BeaconListener listener)
public BeaconReactorBuilder withBroadcastInterval(long broadcastInterval)
public BeaconReactorBuilder withIgnoreLocalAddress(boolean ignoreLocalAddress)
public BeaconReactor build() throws IOException
IOException
public BeaconReactor start() throws IOException
IOException
Copyright © 2019. All rights reserved.