⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 callback.java

📁 聊天程序
💻 JAVA
字号:
/*
 * @(#)Callback.java
 *
 * Copyright (c) 2001-2002, JangHo Hwang
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 
 * 	1. Redistributions of source code must retain the above copyright
 * notice, this list of conditions and the following disclaimer.
 * 
 * 	2. Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * 
 * 	3. Neither the name of the JangHo Hwang nor the names of its contributors
 * may be used to endorse or promote products derived from this software
 * without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * 
 *    $Id: Callback.java,v 1.2 2002/03/05 13:35:33 xrath Exp $ 
 */
package rath.msnm.entity;

/**
 * TrID甫 啊瘤绰 msn 橇肺配妮俊 利钦茄 callback 窃荐甫 啊瘤绰 努贰胶肺结,
 * 荤侩后档啊 臭篮 努贰胶捞促.
 * 
 * @author Jang-Ho Hwang, rath@linuxkorea.co.kr
 * @version $Id: Callback.java,v 1.2 2002/03/05 13:35:33 xrath Exp $ 
 */
public class Callback
{
	private Class cl = null;
	private String methodName = null;
	private boolean infinite = false;
	private long creationTime;

	private Callback()
	{
		creationTime = System.currentTimeMillis();
	}

	/**
	 * 妮归皋家靛啊 积己等 矫埃阑 馆券茄促.
	 * 妮归捞 积己等 饶 老沥矫埃捞 瘤唱档废 荤侩登瘤 臼绰促搁,
	 * 览翠捞 公矫登芭唱 瘤楷登绰 版快捞扁锭巩俊, 昏力秦林瘤 臼栏搁, 
	 * 拌加 皋葛府俊 穿利瞪荐啊 乐促. 
	 * <p>
	 * 捞巴阑 规瘤窍扁困窍咯 积己矫埃阑 舅酒辑 Timeout阑 利侩矫难具茄促.
	 */
	public long getCreationTime()
	{
		return this.creationTime;
	}

	/**
	 * 茄锅 荤侩等 饶 荤扼瘤瘤 臼绰 公茄 妮归窃荐牢瘤 酒囱瘤 馆券茄促.
	 */
	public boolean isInfinite()
	{
		return this.infinite;
	}

	/**
	 * 捞 妮归捞 鞍篮 trId俊 措秦 咯矾锅 龋免瞪 版快 汲沥茄促.
	 */
	public void setInfinite()
	{
		this.infinite = true;
	}

	/**
	 * 妮归 皋家靛 捞抚阑 馆券茄促.
	 */
	public String getMethodName()
	{
		return this.methodName;
	}

	/**
	 * 妮归 皋家靛啊 粮犁窍绰 努贰胶狼 曼炼甫 馆券茄促.
	 */
	public Class getClassRef()
	{
		return this.cl;
	}

	/**
	 * 妮归 皋家靛 牢胶畔胶甫 货酚霸 积己茄促.
	 */
	public static Callback getInstance( String methodName, Class cl )
	{
		Callback call = new Callback();
		call.cl = cl;
		call.methodName = methodName;

		return call;
	}
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -