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

📄 mguardianplugin.java

📁 httptunnel.jar httptunnel java 源码
💻 JAVA
字号:
package net.jumperz.app.MGuardian.plugin;

import java.util.*;
import java.io.*;
import net.jumperz.net.*;
import net.jumperz.app.MGuardian.*;

public abstract class MGuardianPlugin
{
public abstract Map execute( Map sessionInfo ) throws IOException;
protected Properties control = MConfig.getInstance().getControlProperties();
//--------------------------------------------------------------------------------
public void startup()
throws IOException
{
	// default implementation
	// do nothing
}
//--------------------------------------------------------------------------------
public void shutdown()
{
	// default implementation
	// do nothing
}
//--------------------------------------------------------------------------------
protected String getRequiredProperty( String key )
throws IOException
{
String property = control.getProperty( key );
if( property == null )
	{
	throw new IOException(  "'" + key + "' must be defined in the 'control' file." );
	}
return property;
}
//--------------------------------------------------------------------------------
}

⌨️ 快捷键说明

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