public abstract class DAgentBase
extends lotus.domino.AgentBase
getAgentOutput().lotus.domino.NotesThread.ThreadTrackerThread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
DAgentBase()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dbgMsg(String message)
If debugging is enabled, send a debug message to System.out.
|
void |
dbgMsg(String message,
PrintStream out)
If debugging is enabled, send a debug message to the specified stream.
|
void |
dbgMsg(String message,
PrintWriter out)
If debugging is enabled, send a debug message to the specified writer.
|
PrintWriter |
getAgentOutput()
Returns the output writer of the current agent.
|
protected DSession |
getDSession()
Returns the Domingo session of the agent.
|
DNotesMonitor |
getMonitor()
Returns the monitor of the current Domingo agent.
|
lotus.domino.Session |
getSession()
Deprecated.
use method getDSession()
|
boolean |
isRestricted()
Checks if the current agent is a restricted agent or not.
|
abstract void |
main()
main method to be implemented by concrete agents.
|
void |
NotesMain() |
void |
setDebug(boolean b)
Sets whether debugging is enabled or not for the current agent.
|
void |
setTrace(boolean b)
Activates or deactivates tracing method calls of the JVM.
|
getAgentOutputStream, getAgentSession, runNotes, startupfinalize, getNativeThreadID, initThread, run, sDisablePerThreadTracking, sDisablePerThreadTracking, sDumpPerThreadInitTermStacks, sEnablePerThreadTracking, sEnablePerThreadTracking, sGetPerThreadCount, sGetPerThreadCount, sinitThread, stermThread, termThreadactiveCount, checkAccess, clone, 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, yieldpublic abstract void main()
public final void NotesMain()
NotesMain in class lotus.domino.AgentBaseAgentBase.NotesMain()protected final DSession getDSession()
public final lotus.domino.Session getSession()
getSession in class lotus.domino.AgentBasepublic final DNotesMonitor getMonitor()
public final void dbgMsg(String message, PrintStream out)
dbgMsg in class lotus.domino.AgentBasemessage - the messageout - the output streamsetDebug(boolean)public final void dbgMsg(String message, PrintWriter out)
dbgMsg in class lotus.domino.AgentBasemessage - the messageout - the output writersetDebug(boolean)public final void dbgMsg(String message)
dbgMsg in class lotus.domino.AgentBasemessage - the messagesetDebug(boolean)public final PrintWriter getAgentOutput()
getAgentOutput in class lotus.domino.AgentBasepublic final boolean isRestricted()
isRestricted in class lotus.domino.AgentBasepublic final void setDebug(boolean b)
setDebug in class lotus.domino.AgentBaseb - true if debugging should be enabled, else falsepublic final void setTrace(boolean b)
setTrace in class lotus.domino.AgentBaseb - true to enable instruction tracing;
false to disable this feature.Runtime.traceMethodCalls(boolean)Copyright © 2005–2020. All rights reserved.