org.jdiameter.api.Message.isProxiable()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(228)

本文整理了Java中org.jdiameter.api.Message.isProxiable()方法的一些代码示例,展示了Message.isProxiable()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.isProxiable()方法的具体详情如下:
包路径:org.jdiameter.api.Message
类名称:Message
方法名:isProxiable

Message.isProxiable介绍

暂无

代码示例

代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-base-common-events

public boolean isProxiable() {
 return this.msg.isProxiable();
}

代码示例来源:origin: org.mobicents.servers.diameter.resources/base-common-events

public boolean isProxiable() {
 return this.msg.isProxiable();
}

代码示例来源:origin: org.mobicents.servers.diameter.resources/base-common-events

public DiameterCommand getCommand() {
 return new DiameterCommandImpl(this.message.getCommandCode(), this.message.getApplicationId(), this.getShortName(), this.getLongName(), this.message.isRequest(), this.message.isProxiable());
}

代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-base-common-events

public DiameterCommand getCommand() {
 return new DiameterCommandImpl(this.message.getCommandCode(), this.message.getApplicationId(), this.getShortName(), this.getLongName(), this.message.isRequest(), this.message.isProxiable());
}

代码示例来源:origin: org.mobicents.diameter/jdiameter-impl

if (!message.isProxiable()) {
 throw new IllegalArgumentException("Flag p is not set");

代码示例来源:origin: org.mobicents.diameter/jdiameter-impl

@Override
public Message createMessage(Message message, boolean copyAvps) {
 if ( isValid ) {
  setLastAccessTime();
  IMessage newMessage = null;
  IMessage inner = (IMessage) message;
  if (copyAvps) {
   newMessage = parser.createEmptyMessage(inner);
   MessageUtility.addOriginAvps(newMessage, container.getMetaData());
  } else {
   newMessage = (IMessage) createMessage(
     inner.getCommandCode(),
     inner.getSingleApplicationId(),
     -1,
     -1
     );
  }
  newMessage.setRequest(message.isRequest());
  newMessage.setProxiable(message.isProxiable());
  newMessage.setError(message.isError());
  newMessage.setReTransmitted(message.isReTransmitted());
  return newMessage;
 } else {
  throw new IllegalStateException("Session already released");
 }
}

相关文章