public class LedNetProxySocketServer extends TCPSocketServer
clentThread
) on the server.
java ca.bc.webarts.tools.lednet.LedNetProxySocketServer <portNumber>Then send TCP messages to its port directly
on, off, r, g, b, p, y, w, ww, cw, cyan, fun, nightfade, colour?r=10&g=2&b=14
Modifier and Type | Class and Description |
---|---|
(package private) class |
LedNetProxySocketServer.lednetClientThread
The client thread (part of the TCPSocketServer) that gets created when a connectiuon comes in.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LEDNETPROXY_PORT |
(package private) LedNetProxy |
instance |
acceptingConnections_, clientQueue_, clientSocket_, clientThreadClassname_, debug_, DEFAULT_PORT, END, ERROR, MAX_CLIENTS_COUNT, messageEnd_, portNumber_, processor_, serverSocket_, SUCCESS
Constructor and Description |
---|
LedNetProxySocketServer()
Default Constructor using defaults.
|
LedNetProxySocketServer(int portNum)
Constructor to allow a custom port.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Starts the port listener server.
|
boolean |
postConnection(Socket s,
int maxBlockTime_ms)
call this when a new connection comes in to start the procesing of the action that is taken.
|
closeUpShop, getClientThreadClassname, getClientThreadInstance, getClientThreadInstance, getMessageEnd, getServerSocket, getSocket, initPortProcessors, postConnection, setClientThreadClassname, setMessageEnd
public static final int DEFAULT_LEDNETPROXY_PORT
LedNetProxy instance
public LedNetProxySocketServer()
public LedNetProxySocketServer(int portNum)
public boolean postConnection(Socket s, int maxBlockTime_ms)
postConnection
in class TCPSocketServer
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses