public class GeoBeaconServer
extends java.lang.Object
Constructor and Description |
---|
GeoBeaconServer(double geoRadius,
IBlaubotConnectionAcceptor... acceptors)
Creates the server using the given acceptors.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IBlaubotConnectionAcceptor> |
getAcceptors()
Returns the acceptors on which this server is listening on.
|
void |
startBeaconServer()
Starts the beacon server
|
void |
stopBeaconServer()
Stops the beacon server
|
public GeoBeaconServer(double geoRadius, IBlaubotConnectionAcceptor... acceptors)
geoRadius
- the radius in KM in which devices are notified about "nearby" devicesacceptors
- the acceptors to usepublic void startBeaconServer()
public void stopBeaconServer()
public java.util.List<IBlaubotConnectionAcceptor> getAcceptors()