use of net.java.slee.resource.diameter.s13.events.MEIdentityCheckAnswer in project jain-slee.diameter by RestComm.
the class S13ServerSessionImpl method createMEIdentityCheckAnswer.
public MEIdentityCheckAnswer createMEIdentityCheckAnswer() {
// Make sure we have the correct type of Request
if (!(lastRequest instanceof MEIdentityCheckRequest)) {
logger.warn("Invalid type of answer for this activity.");
return null;
}
try {
// Create the answer
MEIdentityCheckAnswer eca = (MEIdentityCheckAnswer) this.s13MessageFactory.createS13Message(lastRequest.getHeader(), new DiameterAvp[] {}, MEIdentityCheckAnswer.COMMAND_CODE, s13MessageFactory.getApplicationId());
// Fill session related AVPs, if present
fillSessionAVPs(eca);
return eca;
} catch (InternalException e) {
logger.error("Failed to create Authentication-Information-Answer.", e);
}
return null;
}
Aggregations