- All Implemented Interfaces:
- public class TCPReceiver
- extends StreamReceiver
Reads signals from the WINLircd TCP socket (normally port 8765).
Don't use this class directly, use
- $Revision: 1.6 $
- Bjorn Bringert (firstname.lastname@example.org)
Disconnects from the socket.
|Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- Connects to the socket. If the system property
org.lirc.TCPReceiver.port is set its value is used as
the port number, otherwise 8765 is used.
LIRCException - if it cannot connect, or if
the value of
org.lirc.TCPReceiver.port cannot be converted to an integer.
public TCPReceiver(int port)
- Connects to the socket.
port - The port to connect to
LIRCException - if it cannot connect.
public void close()
- Disconnects from the socket.
close in class