- public class ReceiverFactory
- extends java.lang.Object
Reads signals from the lircd socket. The actual work is done
by a platform-specific Receiver.
Most applications wouldn't use this class directly, use
Receiver rec = ReceiverFactory.createReceiver();
String code = rec.readCode();
// do something with the code
- $Revision: 1.4 $
- Bjorn Bringert (email@example.com)
- See Also:
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static Receiver createReceiver()
- Gets an appropriate receiver for this platform.
If the system property
org.lirc.ReceiverFactory.receiver is set
its value is treated as a fully qualified class name and the receiver is
created from that class.
Otherwise the default receiver for the platform is loaded.
LIRCException - if there is a problem loading the
receiver class or connecting to the lircd daemon