public class BeaconReactorImpl extends Object implements BeaconReactor
| Constructor and Description |
|---|
BeaconReactorImpl(ManagedContext context,
int broadcastPort,
UdpBeacon beacon) |
| Modifier and Type | Method and Description |
|---|---|
void |
setBroadcastInterval(long broadcastInterval) |
void |
setIgnoreLocalAddress(boolean ignoreLocalAddress) |
void |
setListener(BeaconListener listener) |
void |
start()
Start the underlying Reactor.
|
void |
stop()
Stop the underlying Reactor.
|
public BeaconReactorImpl(ManagedContext context, int broadcastPort, UdpBeacon beacon) throws IOException
IOExceptionpublic void start()
BeaconReactorstart in interface BeaconReactorpublic void stop()
BeaconReactorstop in interface BeaconReactorpublic void setListener(BeaconListener listener)
public void setBroadcastInterval(long broadcastInterval)
public void setIgnoreLocalAddress(boolean ignoreLocalAddress)
Copyright © 2019. All rights reserved.