public long getApplicationId() { return this.msg.getApplicationId(); }
Long appId = message.getApplicationId();
public long getApplicationId() { return this.msg.getApplicationId(); }
Long appId = message.getApplicationId();
@Override public void validate(Message msg, boolean incoming) throws AvpNotAllowedException { if (!enabled || !configured) { return; } MessageRepresentationImpl rep = new MessageRepresentationImpl(msg.getCommandCode(), msg.getApplicationId(), msg.isRequest()); rep = (MessageRepresentationImpl) this.commandMap.get(rep); if (rep == null) { // no notion, lets leave it. logger.warn("Validation could not be performed, command not defined!. Code={}, Application-Id={}, Req={}", new Object[] { msg.getCommandCode(), msg.getApplicationId(), msg.isRequest() }); return; } rep.validate(msg, (incoming ? receiveValidationLevel : sendValidationLevel)); }
Long appId = message.getApplicationId();
public DiameterCommand getCommand() { return new DiameterCommandImpl(this.message.getCommandCode(), this.message.getApplicationId(), this.getShortName(), this.getLongName(), this.message.isRequest(), this.message.isProxiable()); }
public DiameterCommand getCommand() { return new DiameterCommandImpl(this.message.getCommandCode(), this.message.getApplicationId(), this.getShortName(), this.getLongName(), this.message.isRequest(), this.message.isProxiable()); }
throw new IllegalArgumentException("Invalid message code " + message.getCommandCode()); if (message.getApplicationId() != 0 && message.getApplicationId() != cd.appId()) { throw new IllegalArgumentException("Invalid Application-Id " + message.getApplicationId());
Message msg = (Message) parent; MessageRepresentation msgRep = dictionary.getMessage(msg.getCommandCode(), msg.getApplicationId(), msg.isRequest()); logger.debug("Unable to find message in dictionary, skipping validation. (Command Code: " + msg.getCommandCode() + ", Application-Id: " + msg.getApplicationId() + ")"); + msg.getApplicationId() + ", isRequest: " + msg.isRequest(), avpCode, vendorId);
Message msg = (Message) parent; MessageRepresentation msgRep = dictionary.getMessage(msg.getCommandCode(), msg.getApplicationId(), msg.isRequest()); logger.debug("Unable to find message in dictionary, skipping validation. (Command Code: " + msg.getCommandCode() + ", Application-Id: " + msg.getApplicationId() + ")"); + msg.getApplicationId() + ", isRequest: " + msg.isRequest(), avpCode, vendorId);