MCPMooSimpleEditPackage
, MCPNegotiatePackage
public static interface ProtocolLibrary.MCPPackage
Modifier and Type | Method | Description |
---|---|---|
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
|
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-max versionsvariables
- key/value pairs for this package