jtge.sample.chat.common.core.command
Class MessageResult

java.lang.Object
  extended byjtge.engine.command.AbstractCommand
      extended byjtge.engine.command.AbstractResult
          extended byjtge.sample.chat.common.core.command.MessageResult
All Implemented Interfaces:
jtge.engine.command.ICommand, java.io.Serializable

public class MessageResult
extends jtge.engine.command.AbstractResult

Implements a message result.

Version:
$Revision: 1.6 $ $Date: 2005/09/10 14:06:21 $
Author:
Mathieu Champlon
See Also:
Serialized Form

Constructor Summary
MessageResult(jtge.engine.user.IUser user, java.lang.String message)
          Create a message.
 
Method Summary
 void execute(jtge.engine.data.IContext context)
          
 
Methods inherited from class jtge.engine.command.AbstractCommand
filter, sort, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageResult

public MessageResult(jtge.engine.user.IUser user,
                     java.lang.String message)
Create a message.

Parameters:
user - the user sending the message
message - the message
Method Detail

execute

public final void execute(jtge.engine.data.IContext context)



Copyright © 2003-2005 . All Rights Reserved.