|
IAIK TSP version 2.32 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.tsp.transport.tcpip.TspTcpIpProtocol
public class TspTcpIpProtocol
Class which implements the TCP/IP based protocol as it is specified in RFC 3161.
Constructor Summary | |
---|---|
TspTcpIpProtocol()
|
Method Summary | |
---|---|
TspTcpIpResponse |
sendRequest(TimeStampReq request,
java.io.OutputStream output,
java.io.InputStream input)
Sends a TimeStampReq to the specified server and receives a
TspTcpIpResponse . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TspTcpIpProtocol()
Method Detail |
---|
public TspTcpIpResponse sendRequest(TimeStampReq request, java.io.OutputStream output, java.io.InputStream input) throws java.io.IOException, TspTcpIpFormatException, CodingException
TimeStampReq
to the specified server and receives a
TspTcpIpResponse
.
request
- The TimeStampReq
to send.output
- The OutputStream
for sending the TimeStampReq
.input
- The InputStream
to receive the TspTcpIpResponse
.
TspTcpIpResponse
.
java.io.IOException
- Thrown if any I/O exception occurs during transport.
TspTcpIpFormatException
- Thrown if the received message is neither a finalMsgRep nor an errorMsgRep.
CodingException
- Thrown if the received TimeStampResp
could not be parsed.
|
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 |