fate.server
Class MessageProcessor


java.lang.Object

  |

  +--java.lang.Thread

        |

        +--fate.server.MessageProcessor


public class MessageProcessor
extends java.lang.Thread

Handles the base message processing logic for the server.

Note that LoginMessage is actually handled by ServerThread.


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MessageProcessor(ServerConnection connection, MapPlayerInfo mapPlayerInfo)
          Creates new MessageProcessor
 
Method Summary
 void run()
          Process incoming messages from the server
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageProcessor


public MessageProcessor(ServerConnection connection,
                        MapPlayerInfo mapPlayerInfo)
Creates new MessageProcessor
Method Detail

run


public void run()
Process incoming messages from the server
Overrides:
run in class java.lang.Thread