|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ProtocolLibrary.MCPPackage
Interface allowing java or javascript plugins to the MCP protocol
Method Summary | |
---|---|
void |
executePackage(Session session,
java.lang.String command,
java.util.Map<java.lang.String,float[]> clientSupported,
java.util.Map<java.lang.String,java.lang.String> variables)
Execute the package |
float |
maxVersion()
Returns the maximum version supported here. |
float |
minVersion()
Returns the minimum version supported here. |
java.lang.String |
packageName()
Return the name of the overall package |
Method Detail |
---|
java.lang.String packageName()
float minVersion()
float maxVersion()
void executePackage(Session session, java.lang.String command, java.util.Map<java.lang.String,float[]> clientSupported, java.util.Map<java.lang.String,java.lang.String> variables)
session
- the session for which the package is being executedcommand
- the actual command being executed by this packageclientSupported
- map of client packages supported followed by min-maxesvariables
- key/value pairs for this package
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |