com.sap.mw.jco
Class JCO.ServerThread
java.lang.Object
java.lang.Thread
com.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
| 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 |
JCO.ServerThread
protected JCO.ServerThread(JCO.Server server)
- Never instantiated directly
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