|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cycling74.max.MaxObject
mmMaxClient.MMMaxClient
public class MMMaxClient
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface mmServerCommunication.MMClient |
---|
MMClient.EventType |
Field Summary | |
---|---|
static MMMaxClient |
instance
|
int |
lookback
|
Fields inherited from class com.cycling74.max.MaxObject |
---|
EMPTY_STRING_ARRAY, NO_INLETS, NO_OUTLETS |
Fields inherited from interface mmServerCommunication.MMClient |
---|
paramsToGet |
Constructor Summary | |
---|---|
MMMaxClient()
|
Method Summary | |
---|---|
void |
addParamToCurrentProject(java.lang.String paramName,
int paramType)
Adds Param to project and calls getParameterList() to update Max ex. |
void |
changeListener(MMClient.EventType event)
|
void |
createNewProject(java.lang.String projectName)
Creates a new project |
void |
getCurrentParamListName()
Get the last ParamList table name on server and reuse it |
static MMMaxClient |
getInstance()
|
void |
getParameterConfigs(int paramId)
Gets the configuration of the given parameter of the current project and outputs to Max. |
void |
getParameters(java.util.ArrayList<java.lang.String> newParams,
java.lang.Object jsonArray_)
|
void |
getProjectInfo()
Gets the project info for the current project. |
void |
getProjectList()
Outputs a list of projectId and projectName |
void |
getStats(int paramId,
int paramType)
|
void |
notifyError(java.lang.String errorMessage)
|
void |
notifyMessage(java.lang.String messageType,
java.lang.String message)
|
void |
outputToMax(java.lang.String messageType,
int toBool)
|
void |
pollRaw(int paramId,
int pollSwitch)
Starts and stops polling the raw data for the given paramId. |
void |
pollStats(int paramId,
int pollSwitch)
Starts and stops polling the statistics for the given paramId. |
void |
postData(com.cycling74.max.Atom[] args)
|
void |
printToMax(java.lang.String messageType,
int toBool)
Allows users to choose which messages will show up in the max console |
void |
removeParameter(int paramId)
Removes Param from the current project and calls getParameterList() to update Max |
void |
returnedStats(java.util.ArrayList<java.lang.String> returnedStats,
java.lang.Object jsonArray_)
|
void |
setCurrentProject(int projectId)
|
void |
setParamConfigs(com.cycling74.max.Atom[] args)
Sets the key value pair for the Param This does not send to parse until updateProject() is called |
void |
setPollRate(int pollRate)
Sets the poll rate in milliseconds. |
void |
setPollWindow(int seconds)
|
void |
setProjectInfo(java.lang.String info)
Sets the project info for the current project. |
void |
startNewParamList()
Create a new param list table in the server dedicated to the current performance session |
void |
stopPolling()
Stops all polling |
void |
updateProject()
Sends any paramValues that have changed to Parse |
Methods inherited from class com.cycling74.max.MaxObject |
---|
error, gc, getAttr, getAttrAtomArray, getAttrBool, getAttrBoolArray, getAttrByte, getAttrByteArray, getAttrChar, getAttrCharArray, getAttrDouble, getAttrDoubleArray, getAttrFloat, getAttrFloatArray, getAttributeInfo, getAttrInt, getAttrIntArray, getAttrLongArray, getAttrShort, getAttrShortArray, getAttrString, getAttrStringArray, getCodeSourcePath, getContext, getErrorStream, getInfoIdx, getInletAssist, getInletType, getLongAttr, getMaxBox, getName, getNumInlets, getNumOutlets, getOutletAssist, getOutletType, getParentPatcher, getPostStream, ouch, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outletBang, outletBangHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, post, postCodePath, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setName, showException, showException, toString, viewsource, zap |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static MMMaxClient instance
public int lookback
Constructor Detail |
---|
public MMMaxClient()
Method Detail |
---|
public static MMMaxClient getInstance()
public void createNewProject(java.lang.String projectName)
projectName
- public void getCurrentParamListName()
public void startNewParamList()
public void printToMax(java.lang.String messageType, int toBool)
messageType
- toBool
- public void outputToMax(java.lang.String messageType, int toBool)
public void getProjectList()
public void setCurrentProject(int projectId)
projectId
- public void getProjectInfo()
public void setProjectInfo(java.lang.String info)
info
- public void addParamToCurrentProject(java.lang.String paramName, int paramType)
paramName
- paramType
- public void removeParameter(int paramId)
paramId
- public void setParamConfigs(com.cycling74.max.Atom[] args)
paramName
- key
- value
- public void updateProject()
public void getParameterConfigs(int paramId)
paramId
- public void setPollRate(int pollRate)
pollRate
- public void pollStats(int paramId, int pollSwitch)
paramId
- pollSwitch
- public void pollRaw(int paramId, int pollSwitch)
paramId
- pollSwitch
- public void setPollWindow(int seconds)
public void postData(com.cycling74.max.Atom[] args)
public void stopPolling()
public void getStats(int paramId, int paramType)
public void changeListener(MMClient.EventType event)
changeListener
in interface MMClient
public void getParameters(java.util.ArrayList<java.lang.String> newParams, java.lang.Object jsonArray_)
getParameters
in interface MMClient
public void returnedStats(java.util.ArrayList<java.lang.String> returnedStats, java.lang.Object jsonArray_)
returnedStats
in interface MMClient
public void notifyError(java.lang.String errorMessage)
notifyError
in interface MMClient
public void notifyMessage(java.lang.String messageType, java.lang.String message)
notifyMessage
in interface MMClient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |