oracle.security.crypto.cmp.transport
Class PollRequestTCPMsg
java.lang.Object
oracle.security.crypto.cmp.transport.TCPMessage
oracle.security.crypto.cmp.transport.PollRequestTCPMsg
- public class PollRequestTCPMsg
- extends TCPMessage
TCP-based protocol message used by an end-entity to poll for a response from the server.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PollRequestTCPMsg
public PollRequestTCPMsg(TCPMessage.Version version,
int pollRef)
- Create a new
PollRequestTCPMsg with the given version and polling reference number.
- Parameters:
version - the PKI TCP transport protocol version.
pollRef - the polling reference, obtained from the corresponding PollResponseTCPMsg using the getPollRef() method.
PollRequestTCPMsg
public PollRequestTCPMsg(int pollRef)
- Create a new
PollRequestTCPMsg with the given polling reference number and the default version (CMP2000).
- Parameters:
pollRef - the polling reference, obtained from the corresponding PollResponseTCPMsg using the getPollRef() method.
PollRequestTCPMsg
public PollRequestTCPMsg(java.io.InputStream is)
throws java.io.IOException
getType
public TCPMessage.Type getType()
- Description copied from class:
TCPMessage
- Get the TCP-based message type.
-
- Specified by:
getType in class TCPMessage
getPollRef
public int getPollRef()
checkStatus
public boolean checkStatus(int pollRef)
- Check that if this pollRef is the same as the given polling reference number.
-
- Parameters:
pollRef - the polling reference, obtained from the corresponding PollResponseTCPMsg using the getPollRef() method.
toString
public java.lang.String toString()
Copyright © 2005 , Oracle. All rights reserved.