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
IOException
public void start()
BeaconReactor
start
in interface BeaconReactor
public void stop()
BeaconReactor
stop
in interface BeaconReactor
public void setListener(BeaconListener listener)
public void setBroadcastInterval(long broadcastInterval)
public void setIgnoreLocalAddress(boolean ignoreLocalAddress)
Copyright © 2019. All rights reserved.