public class LaserTagConnectorServerActivity
extends Activity
Modifier and Type | Class and Description |
---|---|
class |
LaserTagConnectorServerActivity.firstThread |
class |
LaserTagConnectorServerActivity.ServerThread |
Modifier and Type | Field and Description |
---|---|
private TextView |
carOne |
private TextView |
carTwo |
private int |
clientNo |
private Thread |
fsm |
private TextView |
gameArea |
private Handler |
handler |
private TextView |
hostText |
private String |
line |
private StringBuffer |
myLine |
private TextView |
otherPlayer |
static String |
SERVERIP |
private int |
SERVERPORT |
private ServerSocket |
serverSocket |
private TextView |
serverStatus |
private boolean |
startGame |
Constructor and Description |
---|
LaserTagConnectorServerActivity() |
Modifier and Type | Method and Description |
---|---|
private String |
getLocalIpAddress() |
static void |
main(String[] args) |
protected void |
onCreate(Bundle savedInstanceState) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private Handler handler
public static String SERVERIP
private TextView otherPlayer
private TextView gameArea
private TextView carOne
private TextView carTwo
private TextView serverStatus
private TextView hostText
private String line
private StringBuffer myLine
private ServerSocket serverSocket
private int SERVERPORT
private Thread fsm
private int clientNo
private boolean startGame
public LaserTagConnectorServerActivity()
protected void onCreate(Bundle savedInstanceState)
public static void main(String[] args)
private String getLocalIpAddress()