Package tigase.net

# Class SocketThread

java.lang.Object
tigase.net.SocketThread

All Implemented Interfaces:
  `Runnable`

public class SocketThread extends Object implements Runnable
Describe 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 class`
  `SocketThread.ResultsListener`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `DEF_MAX_THREADS_PER_CPU`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `addSocketService(IOService<?> s)`
  `void`
  `addSocketServicePriv(IOService<?> s)`
  `static void`
  `removeSocketService(IOService<Object> s)`
  `void`
  `removeSocketServicePriv(IOService<?> s)`
  `void`
  `run()`
  `void`
  `setMaxThread(int threads)`
  `void`
  `setMaxThreadPerCPU(int threads)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### DEF_MAX_THREADS_PER_CPU

    public static final int DEF_MAX_THREADS_PER_CPU
    See Also:
      - Constant Field Values

- ## Method Details

  - ### addSocketService

    public static void addSocketService(IOService<?> s)

  - ### removeSocketService

    public static void removeSocketService(IOService<Object> s)

  - ### addSocketServicePriv

    public void addSocketServicePriv(IOService<?> s)

  - ### removeSocketServicePriv

    public void removeSocketServicePriv(IOService<?> s)

  - ### run

    public void run()
    Specified by:
      `run` in interface `Runnable`

  - ### setMaxThread

    public void setMaxThread(int threads)

  - ### setMaxThreadPerCPU

    public void setMaxThreadPerCPU(int threads)