ProtocolLibrary.MCPPackage
public class MCPMooSimpleEditPackage extends java.lang.Object implements ProtocolLibrary.MCPPackage
Constructor | Description |
---|---|
MCPMooSimpleEditPackage() |
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
|
public java.lang.String packageName()
ProtocolLibrary.MCPPackage
packageName
in interface ProtocolLibrary.MCPPackage
public float minVersion()
ProtocolLibrary.MCPPackage
minVersion
in interface ProtocolLibrary.MCPPackage
public float maxVersion()
ProtocolLibrary.MCPPackage
maxVersion
in interface ProtocolLibrary.MCPPackage
public 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)
ProtocolLibrary.MCPPackage
executePackage
in interface ProtocolLibrary.MCPPackage
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