|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.net.BaseTextRequestProcessor
public abstract class BaseTextRequestProcessor
The abstract implementation of a text request processor that leaves only the processing of a single request to subclasses.
| Constructor Summary | |
|---|---|
BaseTextRequestProcessor(TextSocketConnection conn)
Initialize the new instance with default values. |
|
| Method Summary | |
|---|---|
abstract void |
processRequest(java.lang.String request)
Subclasses must implement this method to process the request. |
void |
run()
Runs the processing of requests coming in from the underlying socket connection. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseTextRequestProcessor(TextSocketConnection conn)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic abstract void processRequest(java.lang.String request)
request - The request as text that has been received from the connection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||