View Javadoc

1   /**********************************************************************
2    * PingHandler.java
3    * created on 27.05.2007 by netseeker
4    * $Id: PingHandler.java,v 1.2 2007/11/17 10:56:59 netseeker Exp $
5    * $Log: PingHandler.java,v $
6    * Revision 1.2  2007/11/17 10:56:59  netseeker
7    * *** empty log message ***
8    *
9    * Revision 1.1  2007/05/27 22:13:08  netseeker
10   * *** empty log message ***
11   *
12   *
13   * ====================================================================
14   *
15   *  Copyright 2005-2006 netseeker aka Michael Manske
16   *
17   *  Licensed under the Apache License, Version 2.0 (the "License");
18   *  you may not use this file except in compliance with the License.
19   *  You may obtain a copy of the License at
20   *
21   *      http://www.apache.org/licenses/LICENSE-2.0
22   *
23   *  Unless required by applicable law or agreed to in writing, software
24   *  distributed under the License is distributed on an "AS IS" BASIS,
25   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26   *  See the License for the specific language governing permissions and
27   *  limitations under the License.
28   * ====================================================================
29   *
30   * This file is part of the EJOE framework.
31   * For more information on the author, please see
32   * <http://www.manskes.de/>.
33   *
34   *********************************************************************/
35  package de.netseeker.ejoe.handler;
36  
37  import de.netseeker.ejoe.EJConstants;
38  
39  /***
40   * @author netseeker
41   * 
42   * @since 
43   */
44  public class PingHandler implements ServerHandler
45  {
46  
47      /***
48       * 
49       */
50      private static final long serialVersionUID = 1L;
51  
52      /* (non-Javadoc)
53       * @see de.netseeker.ejoe.handler.ServerHandler#handle(java.lang.Object)
54       */
55      public Object handle( Object obj ) throws Exception
56      {
57          return System.currentTimeMillis() + ",EJOE " + EJConstants.EJOE_VERSION;
58      }
59  
60  }