com.sap.mw.jco

Class JCO.ServerThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.sap.mw.jco.JCO.ServerThread
All Implemented Interfaces:
IServerThread, Runnable
Enclosing class:
JCO

public static class JCO.ServerThread
extends 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

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected JCO.ServerThread(JCO.Server server)
          Never instantiated directly
 
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, holdsLock, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCO.ServerThread

protected JCO.ServerThread(JCO.Server server)
Never instantiated directly

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


Copyright 2006 SAP AG Complete Copyright Notice