|
IAIK TSP version 2.32 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object demo.tsp.connections.ssl.TspSSLServerThread
public class TspSSLServerThread
This demo class implements a TSP TCPI/IP server thread.
This thread reads a TimeStampReq
and returns a
TimeStampResp
.
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
The logger for this class. |
Constructor Summary | |
---|---|
TspSSLServerThread(java.net.Socket client_socket,
int max_timer_out,
TspSSLServer server)
Creates a new TspTcpIpServerThread . |
Method Summary | |
---|---|
protected java.math.BigInteger |
generateSerialNumber()
Generates an unique serial number. |
void |
run()
This method handles the communication with the client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public TspSSLServerThread(java.net.Socket client_socket, int max_timer_out, TspSSLServer server) throws java.net.SocketException
TspTcpIpServerThread
.
client_socket
- The socket of the client.max_timer_out
- The specified time out in milliseconds.server
- The server which uses this thread.
java.net.SocketException
- Thrown if an exception occurs during time out configuration. For details please refer to Socket.setSoTimeout(int)
.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
protected java.math.BigInteger generateSerialNumber()
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |