|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.rsa.ace.techservice.udpserver.AceTestAgent
public class AceTestAgent
Ace "Echo" TestAgent
Trivial ACE/Agent driver. THIS TEST NEEDS CONSIDERABLE RE-WORK TO BE USEFUL. THIS IMPLEMENTS THE INITIAL "REQ" RANDOM INTEGER ECHO PROTOCOL NO LONGER SUPPORTED.
| 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 java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
AceTestAgent(java.lang.String hostName,
int portNumber,
java.lang.ThreadGroup tg)
Construct an agent to send packets to the host and port provided. |
|
| Method Summary | |
|---|---|
int |
getErrorCount()
Gets the number of protocol errors. |
int |
getPacketCount()
Gets the number of packets sent by this thread. |
static void |
main(java.lang.String[] args)
ACE Agent Unit Test Main. |
void |
run()
Main Agent thread function. |
java.lang.String |
toString()
Converts the agent to a String. |
| 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, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AceTestAgent(java.lang.String hostName,
int portNumber,
java.lang.ThreadGroup tg)
throws java.net.UnknownHostException,
java.net.SocketException
hostName - The name of the ACE/Server host.portNumber - The port number on 'hostName' to which packets will be sent.tg - The thread group to which this thread will add itself.
java.net.UnknownHostException - If the destination host is unknown.
java.net.SocketException - If socket errors occur.| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic int getErrorCount()
public int getPacketCount()
public java.lang.String toString()
toString in class java.lang.Threadpublic static void main(java.lang.String[] args)
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||