applications.proxy.main
Class InputHandler


public class InputHandler

Description of the Class

Author:
igasp
created March 12, 2001

Field Summary
 protected MamCommunicatorm_mamComm
          Description of the Field
 protected MooCommunicatorm_mooComm
          Description of the Field
 protected TextUIWindowm_outputWin
          Description of the Field

Method Summary
 booleancanHandleCommand(String commandString)
          Description of the Method
 voidhandleCommand(String commandString)
          Description of the Method
 voidhandleMamMessageFromMoo(String mamMessage)
          Description of the Method
 private voidinternalHandleCommand(String commandString)
          Description of the Method
 booleanisConnectedToMoo()
          Gets the ConnectedToMoo attribute of the InputHandler object
 voidsetMamCommunicator(MamCommunicator communicator)
          Sets the MamCommunicator attribute of the InputHandler object
 voidsetMooCommunicator(MooCommunicator communicator)
          Sets the MooCommunicator attribute of the InputHandler object
 voidsetOutputWin(TextUIWindow window)
          Sets the OutputWin attribute of the InputHandler object

Field Detail

m_mamComm

protected MamCommunicator m_mamComm
Description of the Field
Since:

m_mooComm

protected MooCommunicator m_mooComm
Description of the Field
Since:

m_outputWin

protected TextUIWindow m_outputWin
Description of the Field
Since:
Method Detail

canHandleCommand

public boolean canHandleCommand(String commandString)
Description of the Method
Parameters:
commandString - Description of Parameter
Returns: Description of the Returned Value
Since:

handleCommand

public void handleCommand(String commandString)
Description of the Method
Parameters:
commandString - Description of Parameter
Since:

handleMamMessageFromMoo

public void handleMamMessageFromMoo(String mamMessage)
Description of the Method
Parameters:
mamMessage - Description of Parameter
Since:

internalHandleCommand

private void internalHandleCommand(String commandString)
Description of the Method
Parameters:
commandString - Description of Parameter
Since:

isConnectedToMoo

public boolean isConnectedToMoo()
Gets the ConnectedToMoo attribute of the InputHandler object
Returns: The ConnectedToMoo value
Since:

setMamCommunicator

public void setMamCommunicator(MamCommunicator communicator)
Sets the MamCommunicator attribute of the InputHandler object
Parameters:
communicator - The new MamCommunicator value
Since:

setMooCommunicator

public void setMooCommunicator(MooCommunicator communicator)
Sets the MooCommunicator attribute of the InputHandler object
Parameters:
communicator - The new MooCommunicator value
Since:

setOutputWin

public void setOutputWin(TextUIWindow window)
Sets the OutputWin attribute of the InputHandler object
Parameters:
window - The new OutputWin value
Since: