- java.lang.Object
-
- org.snmp4j.security.TsmSecurityStateReference
-
- All Implemented Interfaces:
SecurityStateReference
public class TsmSecurityStateReference extends java.lang.Object implements SecurityStateReference
TheTsmSecurityStateReference
holds cached security data for theTSM
security model.- Since:
- 2.0
- Version:
- 3.4.0
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isCachedForResponseProcessing
private TransportStateReference
tmStateReference
-
Constructor Summary
Constructors Constructor Description TsmSecurityStateReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportStateReference
getTmStateReference()
boolean
isCachedForResponseProcessing()
Returns theisCachedForResponseProcessing
flag indicating whether this security state reference has been cached for response processing which means it can be used later for response or report processing rather than for requests or notifications (traps).void
setCachedForResponseProcessing(boolean isCachedForResponseProcessing)
Sets theisCachedForResponseProcessing
flag to indicate whether this security state reference has been cached for response processing which means it will be used later for response or report processing rather than for requests or notifications (traps).void
setTmStateReference(TransportStateReference tmStateReference)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.snmp4j.security.SecurityStateReference
applyTargetSecurityInformation
-
-
-
-
Field Detail
-
tmStateReference
private TransportStateReference tmStateReference
-
isCachedForResponseProcessing
private boolean isCachedForResponseProcessing
-
-
Method Detail
-
getTmStateReference
public TransportStateReference getTmStateReference()
-
setTmStateReference
public void setTmStateReference(TransportStateReference tmStateReference)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setCachedForResponseProcessing
public void setCachedForResponseProcessing(boolean isCachedForResponseProcessing)
Description copied from interface:SecurityStateReference
Sets theisCachedForResponseProcessing
flag to indicate whether this security state reference has been cached for response processing which means it will be used later for response or report processing rather than for requests or notifications (traps).- Specified by:
setCachedForResponseProcessing
in interfaceSecurityStateReference
- Parameters:
isCachedForResponseProcessing
- iftrue
, this security state reference has been cached for response processing.
-
isCachedForResponseProcessing
public boolean isCachedForResponseProcessing()
Description copied from interface:SecurityStateReference
Returns theisCachedForResponseProcessing
flag indicating whether this security state reference has been cached for response processing which means it can be used later for response or report processing rather than for requests or notifications (traps).- Specified by:
isCachedForResponseProcessing
in interfaceSecurityStateReference
- Returns:
- if
true
, this security state reference has been cached for response processing.
-
-