Package org.harctoolbox.harchardware.ir
Class LircCcfClient
java.lang.Object
org.harctoolbox.harchardware.ir.LircClient
org.harctoolbox.harchardware.ir.LircCcfClient
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- IHarcHardware,- IIrSenderStop,- IRawIrSender,- IRemoteCommandIrSender,- ITransmitter
A LIRC client, talking to a remote LIRC
 server through a TCP port.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.harctoolbox.harchardware.ir.LircClientLircClient.CommandList, LircClient.CommandSendOnce, LircClient.CommandSendStart, LircClient.CommandSendStop, LircClient.CommandSetTransmitters, LircClient.CommandSimulate, LircClient.CommandVersion
- 
Field SummaryFields inherited from class org.harctoolbox.harchardware.ir.LircClientdefaultLircIP, defaultTimeout, lircDefaultPortFields inherited from interface org.harctoolbox.harchardware.ir.IRawIrSenderrepeatMaxFields inherited from interface org.harctoolbox.harchardware.ir.IRemoteCommandIrSenderrepeatMax
- 
Constructor SummaryConstructorsConstructorDescriptionLircCcfClient(String hostname) LircCcfClient(String hostname, Integer port, boolean verbose, Integer timeout) LircCcfClient(InetAddress hostname) LircCcfClient(InetAddress hostname, boolean verbose) LircCcfClient(InetAddress hostname, boolean verbose, Integer timeout) LircCcfClient(InetAddress hostname, Integer port, boolean verbose, Integer timeout) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleansendCcf(String ccf, int count, Transmitter transmitter) booleansendCcfRepeat(String ccf, Transmitter transmitter) booleansendIr(org.harctoolbox.ircore.IrSignal irSignal, int count, Transmitter transmitter) booleanstopIr(int port) booleanstopIr(Transmitter transmitter) Stops ongoing IR transmission.Methods inherited from class org.harctoolbox.harchardware.ir.LircClientclose, getCommands, getRemotes, getTransmitter, getTransmitter, getTransmitter, getTransmitterNames, getVersion, isValid, main, open, readLoop, sendCommand, sendIrCommand, sendIrCommand, sendIrCommandRepeat, setDebug, setTimeout, setTransmitters, setTransmitters, setTransmitters, setVerbose, stopIr, stopIrMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.harctoolbox.harchardware.ir.IRawIrSendergetTransmitter
- 
Constructor Details- 
LircCcfClientpublic LircCcfClient(InetAddress hostname, Integer port, boolean verbose, Integer timeout) throws IOException - Throws:
- IOException
 
- 
LircCcfClientpublic LircCcfClient(String hostname, Integer port, boolean verbose, Integer timeout) throws IOException - Throws:
- IOException
 
- 
LircCcfClient- Throws:
- IOException
 
- 
LircCcfClient- Throws:
- IOException
 
- 
LircCcfClient- Throws:
- IOException
 
- 
LircCcfClient- Throws:
- UnknownHostException
- IOException
 
 
- 
- 
Method Details- 
sendCcfpublic boolean sendCcf(String ccf, int count, Transmitter transmitter) throws IOException, NoSuchTransmitterException 
- 
sendCcfpublic boolean sendCcf(String ccf, int count, int port) throws IOException, NoSuchTransmitterException 
- 
sendCcfRepeatpublic boolean sendCcfRepeat(String ccf, Transmitter transmitter) throws IOException, NoSuchTransmitterException 
- 
sendIrpublic boolean sendIr(org.harctoolbox.ircore.IrSignal irSignal, int count, Transmitter transmitter) throws IOException, NoSuchTransmitterException - Specified by:
- sendIrin interface- IRawIrSender
- Returns:
- if false, command failed.
- Throws:
- IOException
- NoSuchTransmitterException
 
- 
stopIrDescription copied from interface:IIrSenderStopStops ongoing IR transmission.- Specified by:
- stopIrin interface- IIrSenderStop
- Overrides:
- stopIrin class- LircClient
- Returns:
- if false, command failed.
- Throws:
- IOException
- NoSuchTransmitterException
 
- 
stopIr
 
-