Testing
Class DummyServer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--MtgServer.Server
              |
              +--Testing.DummyServer
All Implemented Interfaces:
java.lang.Runnable

public class DummyServer
extends Server


Field Summary
 
Fields inherited from class MtgServer.Server
availableMtgs, commands, meetings, timerManager, translator, users
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DummyServer(Testing.DummyInterface interface_i)
          Creates a new instance of DummyServer
 
Method Summary
 void run()
           
 void send(java.lang.String user_channel, MtgServer.Message message_i)
          send a message to a user
 
Methods inherited from class MtgServer.Server
addCommand, addUser, cardMeetings, cardUsers, createAndAddMeeting, createAndAddUser, createCommonCommands, dump, exec, getAvailableMtgs, getMeeting, getMeetings, getTranslator, getUser, getUserByName, langByChannel, removeMeeting, removeUser, setAvailableMtgs, setTranslator
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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

DummyServer

public DummyServer(Testing.DummyInterface interface_i)
Creates a new instance of DummyServer

Method Detail

send

public void send(java.lang.String user_channel,
                 MtgServer.Message message_i)
send a message to a user

Specified by:
send in class Server
Parameters:
user_channel - the channel of the user
message_i - the message to send

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread