oogp2p
Class CommandFactory

java.lang.Object
  extended byoogp2p.Factories
      extended byoogp2p.CommandFactory

public class CommandFactory
extends Factories

CommandFactory.java Created: Sun Sep 21 15:49:59 2003

Author:
Oogp2p This class holds all the Commands running on the system. The Command Factory is responsible for retuning the appropriate Command based on the string the user enters into the console window.

Field Summary
private  java.util.Vector myCommands
           
 
Constructor Summary
CommandFactory()
           
 
Method Summary
 InfoReceived makeInfoReceived(Nettable n)
           
 boolean matchesType(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myCommands

private java.util.Vector myCommands
Constructor Detail

CommandFactory

public CommandFactory()
Method Detail

matchesType

public boolean matchesType(java.lang.Object obj)
Specified by:
matchesType in class Factories

makeInfoReceived

public InfoReceived makeInfoReceived(Nettable n)
Specified by:
makeInfoReceived in class Factories