|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.wjholden.kurosuke.KurosukeControllerApplet.NetworkLogic
private class KurosukeControllerApplet.NetworkLogic
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private java.net.InetAddress |
group
|
private java.net.DatagramPacket |
packet
|
private java.awt.Robot |
robbie
|
private java.net.MulticastSocket |
socket
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
KurosukeControllerApplet.NetworkLogic()
|
Method Summary | |
---|---|
private int |
getIntegerValueFromElement(org.w3c.dom.Element e,
java.lang.String tagname)
|
private void |
parseDocument(org.w3c.dom.Document d)
|
private void |
parseKeyPress(org.w3c.dom.Element e)
|
private void |
parseXml(java.lang.String s)
|
void |
run()
|
private void |
setText(java.lang.String s)
|
private void |
simulateInput(int playerId,
int up,
int down,
int left,
int right,
int btnA,
int btnB)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.net.InetAddress group
private java.net.DatagramPacket packet
private java.awt.Robot robbie
private java.net.MulticastSocket socket
Constructor Detail |
---|
public KurosukeControllerApplet.NetworkLogic() throws java.io.IOException
java.io.IOException
Method Detail |
---|
private int getIntegerValueFromElement(org.w3c.dom.Element e, java.lang.String tagname)
private void parseDocument(org.w3c.dom.Document d)
private void parseKeyPress(org.w3c.dom.Element e)
private void parseXml(java.lang.String s)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
private void setText(java.lang.String s)
private void simulateInput(int playerId, int up, int down, int left, int right, int btnA, int btnB) throws java.lang.IllegalArgumentException, java.awt.AWTException
playerId
- up
- down
- left
- right
- btnA
- btnB
- Not used.
java.lang.IllegalArgumentException
java.awt.AWTException
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |