com.sap.mw.jco
Class JCO.ServerThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.sap.mw.jco.JCO.ServerThread
All Implemented Interfaces:
IServerThread, java.lang.Runnable
Enclosing class:
JCO

public static class JCO.ServerThread
extends java.lang.Thread
implements IServerThread

This class implements the minimal set of methods which are necessary to embed a JCO.Server. Whenever a JCO.Server is being created it will automatically create a ServerThread if not specified otherwise. The main purpose of this class is to allow a thread and its embedded JCO.Server to communicate with each other.
Application programmers can implement their own custom thread by either implementing IServerThread or extending this class.

See Also:
IServerThread

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 JCO.Server getServer()
          Returns the server which is running in this thread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getServer

public JCO.Server getServer()
Returns the server which is running in this thread
Specified by:
getServer in interface IServerThread
Returns:
the server which is running in this thread