@Override
  public void setSessionListener(String sessionId, NetworkReqListener data) {
    if (this.localDataSource.exists(sessionId)) {
      this.localDataSource.setSessionListener(sessionId, data);
    }
    else if (!this.localMode && this.existReplicated(sessionId)) {
      // does not make much sense ;[
      this.makeLocal(sessionId);
      this.localDataSource.setSessionListener(sessionId, data);
    }
  }
@ Override public void setSessionListener ( String sessionId , NetworkReqListener data ) { if ( this . localDataSource . exists ( sessionId ) ) { this . localDataSource . setSessionListener ( sessionId , data ) ; } else if ( ! this . localMode && this . existReplicated ( sessionId ) ) { this . makeLocal ( sessionId ) ; this . localDataSource . setSessionListener ( sessionId , data ) ; } }
/*
(non-Javadoc)

@see org.jdiameter.common.api.ha.ISessionDatasource#setSessionListener(java .lang.String, org.jdiameter.api.NetworkReqListener)