public class SyphonServer extends Object
Constructor and Description |
---|
SyphonServer(PApplet parent,
String name)
Constructor that sets server with specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
This method is called automatically when the sketch is disposed, so making
sure that the server is properly stopped and Syphon doesn't complain about
memory not being properly released:
https://github.com/Syphon/Processing/issues/4
|
boolean |
hasClients()
Returns true if this server is bound to any
client.
|
void |
sendImage(PImage source)
Sends the source image to the bound client.
|
void |
sendScreen()
Sends the screen image to the bound client.
|
void |
stop()
Stops the server.
|
public void dispose()
public boolean hasClients()
public void sendImage(PImage source)
source
- public void sendScreen()
public void stop()
Processing library Syphon by Andres Colubri. (c) 2011-14