com.planet_ink.coffee_mud.Libraries.mcppkgs
Class MCPMooSimpleEditPackage

java.lang.Object
  extended by com.planet_ink.coffee_mud.Libraries.mcppkgs.MCPMooSimpleEditPackage
All Implemented Interfaces:
ProtocolLibrary.MCPPackage

public class MCPMooSimpleEditPackage
extends java.lang.Object
implements ProtocolLibrary.MCPPackage


Constructor Summary
MCPMooSimpleEditPackage()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCPMooSimpleEditPackage

public MCPMooSimpleEditPackage()
Method Detail

packageName

public java.lang.String packageName()
Description copied from interface: ProtocolLibrary.MCPPackage
Return the name of the overall package

Specified by:
packageName in interface ProtocolLibrary.MCPPackage
Returns:
the name of the overall package

minVersion

public float minVersion()
Description copied from interface: ProtocolLibrary.MCPPackage
Returns the minimum version supported here.

Specified by:
minVersion in interface ProtocolLibrary.MCPPackage
Returns:
the minimum version supported here.

maxVersion

public float maxVersion()
Description copied from interface: ProtocolLibrary.MCPPackage
Returns the maximum version supported here.

Specified by:
maxVersion in interface ProtocolLibrary.MCPPackage
Returns:
the maximum version supported here.

executePackage

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)
Description copied from interface: ProtocolLibrary.MCPPackage
Execute the package

Specified by:
executePackage in interface ProtocolLibrary.MCPPackage
Parameters:
session - the session for which the package is being executed
command - the actual command being executed by this package
clientSupported - map of client packages supported followed by min-maxes
variables - key/value pairs for this package