public class AdapterMock extends java.lang.Object implements IBlaubotAdapter
Constructor and Description |
---|
AdapterMock() |
Modifier and Type | Method and Description |
---|---|
Blaubot |
getBlaubot()
Get the current blaubot instance
|
BlaubotAdapterConfig |
getBlaubotAdapterConfig()
Configuration object for hardware specific adapter settings.
|
IBlaubotConnectionAcceptor |
getConnectionAcceptor()
Get the connection acceptor that is in charge to retrieve incoming connections issued by compatible
IBlaubotConnector implementations.
|
ConnectionStateMachineConfig |
getConnectionStateMachineConfig()
The adapter specific
ConnectionStateMachine configuration. |
IBlaubotConnector |
getConnector()
Get the connector for this adapter.
|
void |
setBlaubot(Blaubot blaubotInstance)
Setter for dependency injection of the blaubot instance.
|
public IBlaubotConnector getConnector()
IBlaubotAdapter
getConnector
in interface IBlaubotAdapter
public IBlaubotConnectionAcceptor getConnectionAcceptor()
IBlaubotAdapter
getConnectionAcceptor
in interface IBlaubotAdapter
public void setBlaubot(Blaubot blaubotInstance)
IBlaubotAdapter
setBlaubot
in interface IBlaubotAdapter
blaubotInstance
- the blaubot instancepublic Blaubot getBlaubot()
IBlaubotAdapter
getBlaubot
in interface IBlaubotAdapter
public ConnectionStateMachineConfig getConnectionStateMachineConfig()
IBlaubotAdapter
ConnectionStateMachine
configuration.getConnectionStateMachineConfig
in interface IBlaubotAdapter
public BlaubotAdapterConfig getBlaubotAdapterConfig()
IBlaubotAdapter
getBlaubotAdapterConfig
in interface IBlaubotAdapter