telnetserverexploreritem.java
来自「一个agent 工具包,可以开发移动设备应用,考虑了安全措施」· Java 代码 · 共 41 行
JAVA
41 行
package SOMA.telnet;
import java.util.*;
import java.io.*;
import SOMA.explorer.*;
import SOMA.network.connection.*;
/** Voce di menu per la creazione di un server di amministrazione da remoto.
*
* @author Livio Profiri
*/
public class TelnetServerExplorerItem extends NewServerExplorerItem
{
public TelnetServerExplorerItem( DirExplorerItem dir )
{
super( dir );
}
/** Metodo di esecuzione del comando: apre la finestra.
*/
public Object Execute( Collection Parameters, PrintStream out )
{
DaemonExplorerItem newServerItem = (DaemonExplorerItem)super.Execute( Parameters, out );
if( newServerItem != null )
{
try
{
newServerItem.daemon.start();
}
catch( Exception e )
{
e.printStackTrace( out );
}
}
return null;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?