1 /* 2 * This file is part of the QuickServer library 3 * Copyright (C) 2003-2005 QuickServer.org 4 * 5 * Use, modification, copying and distribution of this software is subject to 6 * the terms and conditions of the GNU Lesser General Public License. 7 * You should have received a copy of the GNU LGP License along with this 8 * library; if not, you can download a copy from <http://www.quickserver.org/>. 9 * 10 * For questions, suggestions, bug-reports, enhancement-requests etc. 11 * visit http://www.quickserver.org 12 * 13 */ 14 15 package org.quickserver.net.server; 16 /** 17 * This is a marker interface, which a class can implement to 18 * act has a client data carrier. 19 * 20 * This class stores any data associated a client during its 21 * session with the QuickServer. This class can be used by 22 * {@link ClientCommandHandler} class to store any data about 23 * the client it may need in the next call to 24 * {@link ClientCommandHandler#handleCommand} from the same client. 25 * 26 * Note: It is recommended the ClientData implementation also 27 * implement {@link org.quickserver.util.pool.PoolableObject} so that 28 * QuickServer can create a pool of objects and reuse objects from 29 * that pool, instead of creating an new instance for every client. 30 */ 31 public interface ClientData extends java.io.Serializable { 32 } 33