001         package com.croftsoft.apps.chat.server;
002    
003         import com.croftsoft.core.lang.NullArgumentException;
004         import com.croftsoft.core.role.Server;
005    
006         import com.croftsoft.apps.chat.model.ChatWorld;
007    
008         /*********************************************************************
009         * Kills an avatar.
010         *
011         * @version
012         *   2003-06-06
013         * @since
014         *   2003-06-06
015         * @author
016         *   <a href="https://www.croftsoft.com/">David Wallace Croft</a>
017         *********************************************************************/
018    
019         public final class  KillServer
020           implements Server
021         //////////////////////////////////////////////////////////////////////
022         //////////////////////////////////////////////////////////////////////
023         {
024    
025         private final ChatWorld  chatWorld;
026    
027         //////////////////////////////////////////////////////////////////////
028         //////////////////////////////////////////////////////////////////////
029    
030         public  KillServer ( ChatWorld  chatWorld )
031         //////////////////////////////////////////////////////////////////////
032         {
033           NullArgumentException.check ( this.chatWorld = chatWorld );
034         }
035    
036         //////////////////////////////////////////////////////////////////////
037         //////////////////////////////////////////////////////////////////////
038    
039         public Object  serve ( Object  request )
040         //////////////////////////////////////////////////////////////////////
041         {
042           return null;
043         }
044    
045         //////////////////////////////////////////////////////////////////////
046         //////////////////////////////////////////////////////////////////////
047         }