com.planet_ink.coffee_mud.core.threads
Class CMThreadFactory

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.threads.CMThreadFactory
All Implemented Interfaces:
java.util.concurrent.ThreadFactory

public class CMThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory


Constructor Summary
CMThreadFactory(java.lang.String serverName)
           
 
Method Summary
 java.util.Collection<java.lang.Thread> getThreads()
           
 java.lang.Thread newThread(java.lang.Runnable r)
           
 void setServerName(java.lang.String newName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMThreadFactory

public CMThreadFactory(java.lang.String serverName)
Method Detail

setServerName

public void setServerName(java.lang.String newName)

newThread

public java.lang.Thread newThread(java.lang.Runnable r)
Specified by:
newThread in interface java.util.concurrent.ThreadFactory

getThreads

public java.util.Collection<java.lang.Thread> getThreads()