class ShawDirectChannelChange extends TCPSocketClient
Modifier and Type | Field and Description |
---|---|
private String |
activatedShawDirectCommand_
Helper Class var for passing the Shawdirect related message associated with the button that just gor pressed.
|
private static String |
CLASSNAME
A holder This classes name (used when logging).
|
static boolean |
debugOut_
flags the control of debugging output messages.
|
private static String |
DEFAULT_LIRC_IP
DEFAULT IP address for the Lirc server to usefor Shaw Direct commands.
|
private int |
lircPort_
IP port for the ShawDirect IR blaster Lirc server.
|
private String |
lircServerIP_
IP address for the ShawDirect IR blaster Lirc server.
|
static String |
LOG_TAG
The string that gets tagged at the front of all debugging output messages.
|
clientSocket_, debug_, DEFAULT_SERVER_HOST, errorResponse_, host_, is_, listener_, listening_, os_, port_, waitingForResponse_
Constructor and Description |
---|
ShawDirectChannelChange() |
ShawDirectChannelChange(String hostName,
int portNum)
Instatiates the client with custom IP and port.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
private void |
sendShawDirectCommand()
Called to send an Lirc message to the Shawdirect Lirc server when the user selects an ShawDirect command button.
|
closeSocket, initSocket, isInit, listenToSocket, run, send, sendAndWait, signalClose
public static final String LOG_TAG
private static final String DEFAULT_LIRC_IP
public static boolean debugOut_
private String activatedShawDirectCommand_
private String lircServerIP_
private int lircPort_
public ShawDirectChannelChange()
public ShawDirectChannelChange(String hostName, int portNum)
private void sendShawDirectCommand()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses