|
IAIK TSP version 2.01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdemo.tsp.connections.tcpip.TspTcpIpServer
This class implements a TSP TCP/IP server. In this demo version only the
finalMsg structure and errorMsg structure is provided without any polling.
For more details please refer to RFC 3161.
| Field Summary | |
protected static org.apache.commons.logging.Log |
log
The logger for this class. |
| Constructor Summary | |
TspTcpIpServer(String propertyFile)
Creates a new TspTcpIpServer. |
|
| Method Summary | |
TspServerConfiguration |
getConfiguration()
Returns the used TspServerConfiguration. |
static void |
main(String[] args)
Main class for a TspTcpIpServer. |
void |
receiveAndSendData()
Waits for a connection from a client. |
void |
startServer()
Starts the TSP TCP/IP server on the specified port. |
void |
stopServer()
Stops the TSP TCP/IP server. |
| 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 TspTcpIpServer(String propertyFile)
throws IOException,
TspServerConfigurationException
TspTcpIpServer.
propertyFile - The URL of the property file. If this parameter is
null the default location (ServerConfiguration.properties) will be used.
IOException - Thrown if the specified property is not in the classpath.
TspServerConfigurationException - Thrown if the PKCS#12 file could not be found or decrypted.| Method Detail |
public void startServer()
public void stopServer()
public void receiveAndSendData()
throws IOException
TspTcpIpServerThread will be started.
IOException - Thrown if any connection problem occurs.public TspServerConfiguration getConfiguration()
TspServerConfiguration.
public static void main(String[] args)
TspTcpIpServer.
args - The first parameter is the property file to be used. If there are no arguments the default
property file will be used.
|
This Javadoc may contain text parts from IETF Internet Standard specifications (see copyright note) and RSA Data Security Public-Key Cryptography Standards (see copyright note). | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IAIK TSP, © 2002-2004 IAIK, © 2004 Stiftung SIC