Package com.netscape.cmscore.connector
Class Resender
- java.lang.Object
-
- com.netscape.cmscore.connector.Resender
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanconnectedstatic org.slf4j.Loggerloggerprotected IAuthoritymAuthorityprotected java.lang.StringmClientCiphersprotected HttpConnectionmConnprotected IRemoteAuthoritymDestprotected intmIntervalstatic intMINUTEprotected java.lang.StringmNickNameprotected java.util.Vector<java.lang.String>mRequestIds
-
Constructor Summary
Constructors Constructor Description Resender(IAuthority authority, java.lang.String nickName, java.lang.String clientCiphers, IRemoteAuthority dest)Resender(IAuthority authority, java.lang.String nickName, java.lang.String clientCiphers, IRemoteAuthority dest, int interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRequest(IRequest r)Adds the request to the resend queue.voidrun()voidstart(java.lang.String name)voidstop()
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
MINUTE
public static final int MINUTE
- See Also:
- Constant Field Values
-
mAuthority
protected IAuthority mAuthority
-
mDest
protected IRemoteAuthority mDest
-
mRequestIds
protected java.util.Vector<java.lang.String> mRequestIds
-
mConn
protected HttpConnection mConn
-
mNickName
protected java.lang.String mNickName
-
mClientCiphers
protected java.lang.String mClientCiphers
-
connected
protected boolean connected
-
mInterval
protected int mInterval
-
-
Constructor Detail
-
Resender
public Resender(IAuthority authority, java.lang.String nickName, java.lang.String clientCiphers, IRemoteAuthority dest)
-
Resender
public Resender(IAuthority authority, java.lang.String nickName, java.lang.String clientCiphers, IRemoteAuthority dest, int interval)
-
-
Method Detail
-
addRequest
public void addRequest(IRequest r)
Description copied from interface:IResenderAdds the request to the resend queue.- Specified by:
addRequestin interfaceIResender- Parameters:
r- Request to be placed on the resend queue.
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
-