private synchronized void setReceiveAllowed ( DestinationAliasDefinition aliasDefinition ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "setReceiveAllowed" , aliasDefinition ) ; ExtendedBoolean aliasIsReceiveAllowed = aliasDefinition . isReceiveAllowed ( ) ; // A reliability of NONE signals use target value. if ( aliasIsReceiveAllowed . equals ( ExtendedBoolean . NONE ) ) _isReceiveAllowed = getTarget ( ) . isReceiveAllowed ( ) ; else if ( aliasIsReceiveAllowed . equals ( ExtendedBoolean . FALSE ) ) _isReceiveAllowed = false ; else _isReceiveAllowed = true ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "setReceiveAllowed" , Boolean . valueOf ( _isReceiveAllowed ) ) ; }
Set receive allowed flag based on the value stored in the ExtendedBoolean