Package tigase.net
Class SocketThread
- java.lang.Object
-
- tigase.net.SocketThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class SocketThread extends java.lang.Object implements java.lang.RunnableDescribe class SocketThread here.
Created: Mon Jan 30 12:01:17 2006- Author:
- Artur Hefczyc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classSocketThread.ResultsListener
-
Field Summary
Fields Modifier and Type Field Description static intDEF_MAX_THREADS_PER_CPU
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddSocketService(IOService<?> s)voidaddSocketServicePriv(IOService<?> s)static voidremoveSocketService(IOService<java.lang.Object> s)voidremoveSocketServicePriv(IOService<?> s)voidrun()voidsetMaxThread(int threads)voidsetMaxThreadPerCPU(int threads)
-
-
-
Field Detail
-
DEF_MAX_THREADS_PER_CPU
public static final int DEF_MAX_THREADS_PER_CPU
- See Also:
- Constant Field Values
-
-
Method Detail
-
addSocketService
public static void addSocketService(IOService<?> s)
-
removeSocketService
public static void removeSocketService(IOService<java.lang.Object> s)
-
addSocketServicePriv
public void addSocketServicePriv(IOService<?> s)
-
removeSocketServicePriv
public void removeSocketServicePriv(IOService<?> s)
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
setMaxThread
public void setMaxThread(int threads)
-
setMaxThreadPerCPU
public void setMaxThreadPerCPU(int threads)
-
-