|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionProcessor
Defines the interface for all classes that will handle a connection. This interface is used by ServiceListener to interact with the Connection Processors.
Method Summary | |
---|---|
java.lang.String |
read()
|
void |
setSocket(java.net.ServerSocket serverSocket)
Sets the socket used to communicate with the client. |
void |
setUpdatingServerSocket(boolean value)
|
void |
shutdown()
Notifies the service to stop processing connections. |
void |
write(java.lang.String message,
int errorIncrement)
|
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
void setSocket(java.net.ServerSocket serverSocket)
void shutdown()
void setUpdatingServerSocket(boolean value)
java.lang.String read() throws java.net.SocketException, java.net.SocketTimeoutException, java.io.IOException
java.net.SocketException
java.net.SocketTimeoutException
java.io.IOException
void write(java.lang.String message, int errorIncrement) throws TooManyErrorsException, java.io.IOException
TooManyErrorsException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |