Package com.netscape.cmscore.connector
Class Resender
- java.lang.Object
-
- com.netscape.cmscore.connector.Resender
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
connected
static org.slf4j.Logger
logger
protected IAuthority
mAuthority
protected java.lang.String
mClientCiphers
protected HttpConnection
mConn
protected IRemoteAuthority
mDest
protected int
mInterval
static int
MINUTE
protected java.lang.String
mNickName
protected java.util.Vector<java.lang.String>
mRequestIds
protected RequestRepository
requestRepository
-
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 void
addRequest(IRequest r)
Adds the request to the resend queue.void
run()
void
start(java.lang.String name)
void
stop()
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
MINUTE
public static final int MINUTE
- See Also:
- Constant Field Values
-
mAuthority
protected IAuthority mAuthority
-
requestRepository
protected RequestRepository requestRepository
-
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:IResender
Adds the request to the resend queue.- Specified by:
addRequest
in interfaceIResender
- Parameters:
r
- Request to be placed on the resend queue.
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-