类 TListener
- java.lang.Object
-
- cn.mcres.gyhhy.MXLib.mcon.TListener
-
- 所有已实现的接口:
Runnable
,ThreadFactory
- 直接已知子类:
Tester.TListenerTest
public class TListener extends Object implements Runnable, ThreadFactory
-
-
字段概要
字段 修饰符和类型 字段 说明 protected AtomicInteger
ai
byte[]
passwd
protected ThreadGroup
tg
-
构造器概要
构造器 限定符 构造器 说明 protected
TListener()
-
方法概要
修饰符和类型 方法 说明 int
getPort()
protected ExecutorService
initExecutorService()
protected ThreadGroup
initThreadGroup()
Thread
newThread(Runnable r)
static TListener
open()
protected void
open(SocketChannel s)
void
run()
TListener
setPort(int port)
void
setPwd(byte[] bytes)
void
shutdown()
void
start()
-
-
-
字段详细资料
-
passwd
public byte[] passwd
-
ai
protected final AtomicInteger ai
-
tg
protected final ThreadGroup tg
-
-
方法详细资料
-
open
public static TListener open()
-
getPort
public int getPort()
-
setPort
public TListener setPort(int port)
-
initThreadGroup
protected ThreadGroup initThreadGroup()
-
newThread
public Thread newThread(Runnable r)
- 指定者:
newThread
在接口中ThreadFactory
-
initExecutorService
protected ExecutorService initExecutorService()
-
start
public void start()
-
shutdown
public void shutdown()
-
open
protected void open(SocketChannel s) throws IOException
- 抛出:
IOException
-
setPwd
public void setPwd(byte[] bytes)
-
-