ProtocolLibrary.MCPPackagepublic class MCPNegotiatePackage extends java.lang.Object implements ProtocolLibrary.MCPPackage
| Constructor | Description |
|---|---|
MCPNegotiatePackage() |
| 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.MCPPackagepackageName in interface ProtocolLibrary.MCPPackagepublic float minVersion()
ProtocolLibrary.MCPPackageminVersion in interface ProtocolLibrary.MCPPackagepublic float maxVersion()
ProtocolLibrary.MCPPackagemaxVersion in interface ProtocolLibrary.MCPPackagepublic 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.MCPPackageexecutePackage in interface ProtocolLibrary.MCPPackagesession - 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