mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
make some fields public
This commit is contained in:
@@ -43,11 +43,8 @@ public class Client implements Runnable {
|
||||
int port;
|
||||
String host;
|
||||
|
||||
|
||||
// read buffer and streams
|
||||
|
||||
InputStream input;
|
||||
OutputStream output;
|
||||
public InputStream input;
|
||||
public OutputStream output;
|
||||
|
||||
byte buffer[] = new byte[32768];
|
||||
int bufferIndex;
|
||||
|
||||
@@ -39,9 +39,11 @@ public class Server implements Runnable {
|
||||
Thread thread;
|
||||
ServerSocket server;
|
||||
int port;
|
||||
//Vector clients; // people payin the bills
|
||||
Client[] clients;
|
||||
int clientCount;
|
||||
|
||||
/** Number of clients currently connected. */
|
||||
public int clientCount;
|
||||
/** Array of client objects, useful length is determined by clientCount. */
|
||||
public Client[] clients;
|
||||
|
||||
|
||||
public Server(PApplet parent, int port) {
|
||||
|
||||
Reference in New Issue
Block a user