API Docs for:
Show:

comm.ChatController Class

The controller class for the Chat

Constructor

comm.ChatController

(
  • logView
  • model
)

Parameters:

  • logView comm.ChatView

    The view for this object to control.

  • model comm.ClientModel

    The view for this object to control.

Item Index

Methods

Methods

addLine

(
  • lineContents
)

Called by the view whenever input is submitted

Parameters:

  • lineContents String

    The contents of the submitted string