Property | Type | Description | |
---|---|---|---|
clientport | |||
playerip | String |
Method | Description | |
---|---|---|
Connector ( ) : System | ||
connectoServer ( String ip, |
||
getLobby ( String gametype ) : String[] | ||
requestGame ( String opponentip, |
||
sendRequestreply ( String reply ) : void | ||
step ( Object step ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnConnectionAccept ( |
||
OnConnectionRequest ( |
||
OnStep ( |
Method | Description | |
---|---|---|
AcceptCallback ( IAsyncResult ar ) : void | ||
Combine ( byte first, byte second ) : byte[] | ||
ConnectCallback ( IAsyncResult ar ) : void | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
ReadCallback ( IAsyncResult ar ) : void | ||
Send ( Socket client, String data ) : void | ||
Send ( Socket client, byte data ) : void | ||
SendCallback ( IAsyncResult ar ) : void | ||
deserializeToObject ( byte bytes, int offset ) : object | ||
readStream ( Stream stream, int readsize ) : String | ||
serializeObject ( Object obj ) : byte[] | ||
writeStream ( Stream stream, String message ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
protected OnConnectionAccept ( |
||
e | ||
return | void |
protected OnConnectionRequest ( |
||
e | ||
return | void |
protected OnStep ( |
||
e | ||
return | void |
public connectoServer ( String ip, |
||
ip | String | |
port | ||
name | String | |
gametype | String | |
return | void |
public getLobby ( String gametype ) : String[] | ||
gametype | String | |
return | String[] |
public requestGame ( String opponentip, |
||
opponentip | String | |
opponentport | ||
myname | String | |
return | void |
public sendRequestreply ( String reply ) : void | ||
reply | String | |
return | void |