|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectaudio.VideoServer
public class VideoServer
Used internally to represent a connection to a VideoProcessor object that may or may not be running on the same computer.
| Constructor Summary | |
|---|---|
VideoServer(Logger logger)
|
|
| Method Summary | |
|---|---|
void |
cancelConnect()
Stops listening for positive responses to the 'are you alive' question. |
boolean |
connect()
Connects to a remote VideoProcessor object. |
void |
disconnect()
Disconnects from the remote machine - that is, it stops listening for traffic.. |
boolean |
getConnected()
|
int |
getControlPort()
|
java.lang.String |
getCurrentlyRunningModuleName()
|
java.lang.String |
getHostName()
|
int |
getLocalControlPort()
|
int |
getOSCPort()
. |
boolean |
isConnecting()
|
void |
send(com.illposed.osc.OSCMessage message)
Sends an OSC message. |
void |
sendVideoInterfaceModule(VideoOutputModule videoInterfaceModule)
Sends a VideoInterfaceModule to the remove VideoProcessor. |
void |
setConnected(boolean status)
Sets whether or not we are currently connected. |
void |
setConnecting(boolean connecting)
Sets whether or not we are connecting. |
void |
setControlPort(int controlPort)
Sets the control port on the remote VideoProcessor. |
void |
setCurrentlyRunningModuleName(java.lang.String newName)
Sets the name of the module currently running on the remove VideoProcessor. |
void |
setHostName(java.lang.String hostName)
Sets the host name of the host running the remote VideoProcessor. |
void |
setLocalControlPort(int controlPort)
Sets the local port used to listen for control messages. |
void |
setOSCPort(int port)
Sets the OSC port number of the remote VideoProcessor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VideoServer(Logger logger)
logger - | Method Detail |
|---|
public int getLocalControlPort()
public void setLocalControlPort(int controlPort)
controlPort - public int getControlPort()
public void setControlPort(int controlPort)
controlPort - public java.lang.String getHostName()
public void setHostName(java.lang.String hostName)
hostName - public int getOSCPort()
public void setOSCPort(int port)
port - public void send(com.illposed.osc.OSCMessage message)
message - public boolean connect()
public void disconnect()
public void cancelConnect()
public boolean getConnected()
public void setConnected(boolean status)
status - public boolean isConnecting()
public void setConnecting(boolean connecting)
connecting - public java.lang.String getCurrentlyRunningModuleName()
public void setCurrentlyRunningModuleName(java.lang.String newName)
newName - public void sendVideoInterfaceModule(VideoOutputModule videoInterfaceModule)
videoInterfaceModule -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||