本文整理了Java中org.jdiameter.api.Message.isRequest()
方法的一些代码示例,展示了Message.isRequest()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.isRequest()
方法的具体详情如下:
包路径:org.jdiameter.api.Message
类名称:Message
方法名:isRequest
暂无
代码示例来源:origin: org.mobicents.diameter/jdiameter-impl
public void setData(Object data) {
try {
if (((AppEvent) data).getMessage().isRequest()) {
request = (AppEvent) data;
} else {
answer = (AppEvent) data;
}
} catch (InternalException e) {
throw new IllegalArgumentException(e);
}
}
}
代码示例来源:origin: org.mobicents.diameter/jdiameter-impl
public void setData(Object data) {
try {
if (((AppEvent) data).getMessage().isRequest()) {
request = (AppEvent) data;
} else {
answer = (AppEvent) data;
}
} catch (InternalException e) {
throw new IllegalArgumentException(e);
}
}
代码示例来源:origin: org.mobicents.diameter/jdiameter-impl
public void setData(Object data) {
try {
if (((AppEvent) data).getMessage().isRequest()) {
request = (AppEvent) data;
} else {
answer = (AppEvent) data;
}
} catch (InternalException e) {
throw new IllegalArgumentException(e);
}
}
代码示例来源:origin: org.mobicents.diameter/jdiameter-impl
public void setData(Object data) {
try {
if (((AppEvent) data).getMessage().isRequest()) {
request = (AppEvent) data;
} else {
answer = (AppEvent) data;
}
} catch (InternalException e) {
throw new IllegalArgumentException(e);
}
}
代码示例来源:origin: org.mobicents.diameter/jdiameter-impl
@Override
public void setData(Object data) {
try {
if (((AppEvent) data).getMessage().isRequest()) {
request = (AppEvent) data;
} else {
answer = (AppEvent) data;
}
} catch (InternalException e) {
throw new IllegalArgumentException(e);
}
}
}
代码示例来源:origin: org.mobicents.diameter/jdiameter-impl
@Override
public void setData(Object data) {
try {
if (((AppEvent) data).getMessage().isRequest()) {
request = (AppEvent) data;
} else {
answer = (AppEvent) data;
}
} catch (InternalException e) {
throw new IllegalArgumentException(e);
}
}
}
代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-rf-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-sh-client-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-gq-ra
@Override
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-gx-ra
/**
* {@inheritDoc}
*/
@Override
public void fireEvent(final String sessionId, final Message message) {
final DiameterMessage event = (DiameterMessage) createEvent(message);
final FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-ro-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-cx-dx-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-ro-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-s6a-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-rx-ra
/**
* {@inheritDoc}
*/
@Override
public void fireEvent(final String sessionId, final Message message) {
final DiameterMessage event = (DiameterMessage) createEvent(message);
final FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-base-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/mobicents-slee-ra-diameter-cca-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源:origin: org.mobicents.resources/restcomm-slee-ra-diameter-base-ra
public void fireEvent(String sessionId, Message message) {
DiameterMessage event = (DiameterMessage) createEvent(message);
FireableEventType eventId = eventIdCache.getEventId(eventLookup, message);
this.fireEvent(event, getActivityHandle(sessionId), eventId, null, true, message.isRequest());
}
代码示例来源: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());
}
内容来源于网络,如有侵权,请联系作者删除!