|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.p2p.communication.AbstractServer
uk.ac.ic.doc.automed.p2p.communication.TCPServer
public class TCPServer
| Field Summary |
|---|
| Fields inherited from class uk.ac.ic.doc.automed.p2p.communication.AbstractServer |
|---|
isReady, numWorkers, readBufferSize, serverPort, timeOut |
| Constructor Summary | |
|---|---|
TCPServer(int serverPort,
RequestListener handler,
int timeOut,
int numWorkers,
int bufferSize)
Creates a new instance of UDPServer |
|
| Method Summary | |
|---|---|
void |
handleAction()
Handle actions |
void |
runAction()
Implements the runnable action |
| Methods inherited from class uk.ac.ic.doc.automed.p2p.communication.AbstractServer |
|---|
getHandler, getReadyState, getServerPort, setReadyState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TCPServer(int serverPort,
RequestListener handler,
int timeOut,
int numWorkers,
int bufferSize)
throws CommunicationException
CommunicationException| Method Detail |
|---|
public void runAction()
throws AutoMedException
runAction in interface ThreadablerunAction in class AbstractServerAutoMedExceptionpublic void handleAction()
handleAction in interface ThreadablehandleAction in class AbstractServer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||