@Test public void testPressKeys() { IrClient client = new MockIrClient(catsHost, null, null, REMOTE_TYPE); try { Key[] keys = new Key[] {Key.CHDN,Key.CHDN,Key.GUIDE}; client.pressKeys(keys ); } catch(Exception e) { Assert.fail("PressKey method threw exception" + e); } }
@Override public void pressKeys(Key... keys) throws KeyException { pressKeys(DEFAULT_DELAY, keys); }
IrClient extends DawgClient implements KeyInput { @Override public void pressKeys(Key... keys) throws KeyException { pressKeys(DEFAULT_DELAY, keys); } }
IrClient extends DawgClient implements KeyInput { @Override public void pressKeys(Key... keys) throws KeyException { pressKeys(DEFAULT_DELAY, keys); } IrClient(IrMeta irMeta);  IrClient(IrMeta irMeta, String remoteType);  IrClient(String catsHost, String irHost, String port, String remoteType);  IrClient(String catsHost, String blasterType, String irHost, String port, String remoteType); }
IrClient extends DawgClient implements KeyInput { @Override public void pressKeys(Key... keys) throws KeyException { pressKeys(DEFAULT_DELAY, keys); } IrClient(IrMeta irMeta);  IrClient(IrMeta irMeta, String remoteType);  IrClient(String catsHost, String irHost, String port, String remoteType);  IrClient(String catsHost, String blasterType, String irHost, String port, String remoteType); @Override void pressKey(Key key); @Override void pressKey(Key key, RemoteType remoteType); @Override void pressKeys(Key... keys); @Override void pressKeys(long delay, Key... keys); @Override void pressKeys(boolean validate, Key... keys); @Override void holdKey(Key key, long holdTime); }
IrClient extends DawgClient implements KeyInput { @Override public void pressKeys(Key... keys) throws KeyException { pressKeys(DEFAULT_DELAY, keys); } IrClient(IrMeta irMeta);  IrClient(IrMeta irMeta, String remoteType);  IrClient(String catsHost, String irHost, String port, String remoteType);  IrClient(String catsHost, String blasterType, String irHost, String port, String remoteType); @Override void pressKey(Key key); @Override void pressKey(Key key, RemoteType remoteType); @Override void pressKeys(Key... keys); @Override void pressKeys(long delay, Key... keys); @Override void pressKeys(boolean validate, Key... keys); @Override void holdKey(Key key, long holdTime); static final Logger logger; static final String IR_SERVICE; static final String REST; static final String DEFAULT_BLASTER_TYPE; static final String KEY_SET; static final String COMMAND; static final String COMMAND_LIST; static final String DELAY_IN_MILLIS; static final String HOLD_TIME; static final long DEFAULT_DELAY; static final long SINGLE_KEY_PRESS_TIME; }