bufferSize
Constructor and Description |
---|
ObjectClient(processing.core.PApplet parent,
java.lang.String ip,
int port) |
Modifier and Type | Method and Description |
---|---|
int |
send(byte[] data)
This client sends data to the server.
|
connect, disconnect, dispose, run, send, send, send, send, throwReceiveEventByteArray, throwReceiveEventString
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
public ObjectClient(processing.core.PApplet parent, java.lang.String ip, int port)
parent
- ip
- port
- public int send(byte[] data)
Client
The method returns -1 and throws a disconnectedEvent if the connection has been broken.