public interface IBlaubotConnector
IBlaubotDevice
s (to their IBlaubotConnectionAcceptor
) and
informs attached IBlaubotIncomingConnectionListener
s of successfully established
connections.Modifier and Type | Method and Description |
---|---|
IBlaubotConnection |
connectToBlaubotDevice(IBlaubotDevice blaubotDevice)
Try to connect to the given
IBlaubotDevice . |
IBlaubotAdapter |
getAdapter()
Get the adapter of which this connector is part of.
|
java.util.List<java.lang.String> |
getSupportedAcceptorTypes()
Returns a list of supported acceptors to connect to.
|
void |
setBeaconStore(IBlaubotBeaconStore beaconStore)
Setter method for the dependency injection of a beacon store.
|
void |
setIncomingConnectionListener(IBlaubotIncomingConnectionListener acceptorConnectorListener)
Setter method for a callback that will be triggered when this
connector successfully established a connection to a remote device.
|
IBlaubotAdapter getAdapter()
void setBeaconStore(IBlaubotBeaconStore beaconStore)
beaconStore
- the beacon store implementationvoid setIncomingConnectionListener(IBlaubotIncomingConnectionListener acceptorConnectorListener)
acceptorConnectorListener
- the listener instanceIBlaubotConnection connectToBlaubotDevice(IBlaubotDevice blaubotDevice)
IBlaubotDevice
.blaubotDevice
- the device to connect tojava.util.List<java.lang.String> getSupportedAcceptorTypes()