@Test public void testConnect() throws Exception { TestConnectionManager mgr = new TestConnectionManager(); EnOceanGateway gateway = new EnOceanGateway(mgr, new EspPortConfiguration()); gateway.connect(); Assert.assertEquals(1, mgr.getConnectionCallCount); }
public void connect() throws ConfigurationException, ConnectionException { internalConnect(); }
EnOceanGateway implements RadioInterface, RadioTelegramListener { public void connect() throws ConfigurationException, ConnectionException { internalConnect(); } }
EnOceanGateway implements RadioInterface, RadioTelegramListener { public void connect() throws ConfigurationException, ConnectionException { internalConnect(); } EnOceanGateway(EnOceanConnectionManager mgr, EspPortConfiguration config); }
EnOceanGateway implements RadioInterface, RadioTelegramListener { public void connect() throws ConfigurationException, ConnectionException { internalConnect(); } EnOceanGateway(EnOceanConnectionManager mgr, EspPortConfiguration config); void sendRadio(EspRadioTelegram.RORG rorg, DeviceID deviceID, byte[] payload, byte statusByte); void addRadioListener(DeviceID deviceID, RadioTelegramListener listener); @Override void removeRadioListener(DeviceID deviceID, RadioTelegramListener listener); @Override void radioTelegramReceived(EspRadioTelegram telegram); void connect(); void disconnect(); }
EnOceanGateway implements RadioInterface, RadioTelegramListener { public void connect() throws ConfigurationException, ConnectionException { internalConnect(); } EnOceanGateway(EnOceanConnectionManager mgr, EspPortConfiguration config); void sendRadio(EspRadioTelegram.RORG rorg, DeviceID deviceID, byte[] payload, byte statusByte); void addRadioListener(DeviceID deviceID, RadioTelegramListener listener); @Override void removeRadioListener(DeviceID deviceID, RadioTelegramListener listener); @Override void radioTelegramReceived(EspRadioTelegram telegram); void connect(); void disconnect();  }