|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodeanticode.syphon.SyphonServer
public class SyphonServer
Syphon server class. It broadcasts the textures encapsulated in PImage objects.
Constructor Summary | |
---|---|
SyphonServer(processing.core.PApplet parent,
java.lang.String name)
Constructor that sets server with specified name. |
Method Summary | |
---|---|
boolean |
hasClients()
Returns true if this server is bound to any client. |
void |
sendImage(processing.core.PImage source)
Sends the source image to the bound client. |
void |
stop()
Stops the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyphonServer(processing.core.PApplet parent, java.lang.String name)
parent
- serverName
- Method Detail |
---|
public boolean hasClients()
public void sendImage(processing.core.PImage source)
source
- public void stop()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |