Class SendingLircClient
- java.lang.Object
-
- org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
-
- org.harctoolbox.irscrutinizer.sendinghardware.SendingLircClient
-
- All Implemented Interfaces:
ISendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
public class SendingLircClient extends SendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient> implements ISendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
This class does something interesting and useful. Or not...
-
-
Field Summary
-
Fields inherited from class org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware
guiUtils, PROP_PANEL, PROP_RAWIRSENDER, PROP_VERBOSE, properties
-
-
Constructor Summary
Constructors Constructor Description SendingLircClient(JPanel panel, Props properties, GuiUtils gui, InternetHostPanel internetHostPanel, NamedCommandLauncher namedCommandLauncher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
org.harctoolbox.harchardware.ir.LircCcfClient
getRawIrSender()
org.harctoolbox.harchardware.ir.Transmitter
getTransmitter()
void
setTimeout(int timeout)
void
setup()
This function (re-)initializes the hardware.-
Methods inherited from class org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware
close, getPanel, isValid, sendIr, setVerbose
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.harctoolbox.irscrutinizer.sendinghardware.ISendingHardware
close, getPanel, isValid, sendIr, setVerbose
-
-
-
-
Constructor Detail
-
SendingLircClient
public SendingLircClient(JPanel panel, Props properties, GuiUtils gui, InternetHostPanel internetHostPanel, NamedCommandLauncher namedCommandLauncher)
-
-
Method Detail
-
setTimeout
public void setTimeout(int timeout)
-
getName
public String getName()
- Specified by:
getName
in interfaceISendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
- Specified by:
getName
in classSendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
-
getTransmitter
public org.harctoolbox.harchardware.ir.Transmitter getTransmitter() throws org.harctoolbox.harchardware.ir.NoSuchTransmitterException
- Specified by:
getTransmitter
in interfaceISendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
- Overrides:
getTransmitter
in classSendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
- Returns:
- transmitter
- Throws:
org.harctoolbox.harchardware.ir.NoSuchTransmitterException
-
setup
public void setup() throws IOException, org.harctoolbox.harchardware.HarcHardwareException
Description copied from interface:ISendingHardware
This function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.- Specified by:
setup
in interfaceISendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
- Specified by:
setup
in classSendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
- Throws:
IOException
org.harctoolbox.harchardware.HarcHardwareException
-
getRawIrSender
public org.harctoolbox.harchardware.ir.LircCcfClient getRawIrSender()
- Specified by:
getRawIrSender
in interfaceISendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
- Specified by:
getRawIrSender
in classSendingHardware<org.harctoolbox.harchardware.ir.LircCcfClient>
- Returns:
- the rawIrSender
-
-