- java.lang.Object
-
- org.snmp4j.security.TsmSecurityStateReference
-
- All Implemented Interfaces:
SecurityStateReference
public class TsmSecurityStateReference extends java.lang.Object implements SecurityStateReference
TheTsmSecurityStateReferenceholds cached security data for theTSMsecurity model.- Since:
- 2.0
- Version:
- 3.4.0
- Author:
- Frank Fock
-
-
Constructor Summary
Constructors Constructor Description TsmSecurityStateReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportStateReferencegetTmStateReference()booleanisCachedForResponseProcessing()Returns theisCachedForResponseProcessingflag 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).voidsetCachedForResponseProcessing(boolean isCachedForResponseProcessing)Sets theisCachedForResponseProcessingflag 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).voidsetTmStateReference(TransportStateReference tmStateReference)java.lang.StringtoString()-
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
-
-
-
-
Method Detail
-
getTmStateReference
public TransportStateReference getTmStateReference()
-
setTmStateReference
public void setTmStateReference(TransportStateReference tmStateReference)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setCachedForResponseProcessing
public void setCachedForResponseProcessing(boolean isCachedForResponseProcessing)
Description copied from interface:SecurityStateReferenceSets theisCachedForResponseProcessingflag 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:
setCachedForResponseProcessingin interfaceSecurityStateReference- Parameters:
isCachedForResponseProcessing- iftrue, this security state reference has been cached for response processing.
-
isCachedForResponseProcessing
public boolean isCachedForResponseProcessing()
Description copied from interface:SecurityStateReferenceReturns theisCachedForResponseProcessingflag 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:
isCachedForResponseProcessingin interfaceSecurityStateReference- Returns:
- if
true, this security state reference has been cached for response processing.
-
-