com.mooapi.common.command.server
Class MessageFromServer<T extends AbstractMessage>

java.lang.Object
  extended by com.mooapi.common.command.server.AbstractServerCommand
      extended by com.mooapi.common.command.server.MessageFromConnection
          extended by com.mooapi.common.command.server.MessageFromServer<T>
All Implemented Interfaces:
Command

public class MessageFromServer<T extends AbstractMessage>
extends MessageFromConnection

MooAPI server message output command.

Author:
Steve Taylor

Constructor Summary
MessageFromServer(short subchannel, T message)
          Initialize.
 
Method Summary
 
Methods inherited from class com.mooapi.common.command.server.MessageFromConnection
decode, encode, equals, getChannelId, getMessage, getSourceConnectionId, getSubchannel, hashCode, toString
 
Methods inherited from class com.mooapi.common.command.server.AbstractServerCommand
getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageFromServer

public MessageFromServer(short subchannel,
                         T message)
Initialize.

Parameters:
subchannel - The subchannel on which the message is sent.
text - The text of the message.


Copyright © 2009. All Rights Reserved.