|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
things.thinger.kernel.ThingsProcess
things.thinger.service.Service
things.thinger.service.proxy.ProxyService
public class ProxyService
The proxy service. Connections will be dispatched to helper
Version History
EPG - Added by request. This was part of a stand-alone lib for a while. - 10 DEC 08
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class things.thinger.service.Service |
|---|
myLogger |
| Fields inherited from class things.thinger.kernel.ThingsProcess |
|---|
DEFAULT_NAME, internalResult, myPostLogger, ssi |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ProxyService()
Constructor. |
|
| Method Summary | |
|---|---|
void |
complete(ProxyServiceContext context)
Tell the service that a context is complete. |
void |
constructThingsProcess()
Complete construction. |
void |
destructThingsProcess()
Destroy. |
void |
executeThingsProcess()
This is the entry point for the actual processing. |
WhoAmI |
getListenerId()
Get the ID of the listener. |
java.lang.String |
getProcessName()
Get process name. |
void |
resourceRevocation(WhoAmI resourceID)
The identified resource is in the process of being revoked. |
void |
resourceRevoked(WhoAmI resourceID)
The identified resource bas been revoked. |
void |
serviceOff()
Called to turn the service off. |
void |
serviceOn()
Called to turn the service on. |
| Methods inherited from class things.thinger.service.Service |
|---|
setLogger |
| Methods inherited from class things.thinger.kernel.ThingsProcess |
|---|
acceptHalt, acceptPause, finalize, fix, forceFinalize, forceHalt, getCurrentState, getCurrentStateNumeric, getProcessId, getResult, getStartTime, getThingsState, init, isVerbose, release, releasePause, requestHalt, requestPause, run, screech, verboseOff, verboseOn |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyService()
| Method Detail |
|---|
public void complete(ProxyServiceContext context)
context - the context.
public void serviceOn()
throws SystemException
serviceOn in class ServiceSystemException
public void serviceOff()
throws SystemException
serviceOff in class ServiceSystemException
public void executeThingsProcess()
throws SystemException
executeThingsProcess in class ThingsProcessSystemException
public void constructThingsProcess()
throws SystemException
Set up the listening port.
constructThingsProcess in class ThingsProcessSystemException
public void destructThingsProcess()
throws SystemException
destructThingsProcess in class ThingsProcessSystemExceptionpublic java.lang.String getProcessName()
getProcessName in interface ProcessInterfacegetProcessName in class ThingsProcess
public void resourceRevocation(WhoAmI resourceID)
throws SystemException,
java.lang.InterruptedException
resourceID - the ID of the resource that is being revoked.
SystemException
java.lang.InterruptedExceptionWhoAmI
public void resourceRevoked(WhoAmI resourceID)
throws SystemException,
java.lang.InterruptedException
resourceID - the ID of the resource that has been revoked.
SystemException
java.lang.InterruptedExceptionWhoAmIpublic WhoAmI getListenerId()
WhoAmI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||