本文整理了Java中jain.protocol.ip.mgcp.message.Notify.getNotifiedEntity()
方法的一些代码示例,展示了Notify.getNotifiedEntity()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Notify.getNotifiedEntity()
方法的具体详情如下:
包路径:jain.protocol.ip.mgcp.message.Notify
类名称:Notify
方法名:getNotifiedEntity
暂无
代码示例来源:origin: org.mobicents.jain/mobicents-mgcp-impl
@Override
public String encode(JainMgcpCommandEvent event) {
Notify notify = (Notify) event;
StringBuffer message = new StringBuffer();
message.append("NTFY ").append(event.getTransactionHandle()).append(SINGLE_CHAR_SPACE).append(
notify.getEndpointIdentifier()).append(MGCP_VERSION).append(NEW_LINE);
if (notify.getNotifiedEntity() != null) {
message.append("N: ").append(notify.getNotifiedEntity()).append(NEW_LINE);
}
message.append("X: ").append(notify.getRequestIdentifier()).append(NEW_LINE);
Utils utils = utilsFactory.allocate();
message.append("O: ").append(utils.encodeEventNames(notify.getObservedEvents())).append(NEW_LINE);
utilsFactory.deallocate(utils);
return message.toString();
}
代码示例来源:origin: ua.mobius.media.client/mgcp-driver
array[totalLength++]=StringFunctions.NEWLINE_BYTE;
if (evt.getNotifiedEntity() != null)
totalLength+=NotifiedEntityHandler.encode(array,totalLength,evt.getNotifiedEntity());
array[totalLength++]=StringFunctions.NEWLINE_BYTE;
代码示例来源:origin: org.mobicents.media.client/mgcp-driver
array[totalLength++]=StringFunctions.NEWLINE_BYTE;
if (evt.getNotifiedEntity() != null)
totalLength+=NotifiedEntityHandler.encode(array,totalLength,evt.getNotifiedEntity());
array[totalLength++]=StringFunctions.NEWLINE_BYTE;
代码示例来源:origin: org.mobicents.jain/mobicents-mgcp-impl
case Constants.CMD_NOTIFY:
Notify notifyCommand = (Notify) event;
NotifiedEntity notifiedEntity = notifyCommand.getNotifiedEntity();
if (notifiedEntity == null) {
notifiedEntity = this.stack.provider.getNotifiedEntity();
代码示例来源:origin: org.mobicents.media.client/mgcp-driver
if (logger.isDebugEnabled()) {
logger.debug("Sending Notify object to NotifiedEntity"
+ ((Notify) commandEvent).getNotifiedEntity());
代码示例来源:origin: ua.mobius.media.client/mgcp-driver
if (logger.isDebugEnabled()) {
logger.debug("Sending Notify object to NotifiedEntity"
+ ((Notify) commandEvent).getNotifiedEntity());
代码示例来源:origin: org.mobicents.media.client/mgcp-driver
case Constants.CMD_NOTIFY:
Notify notifyCommand = (Notify) event;
NotifiedEntity notifiedEntity = notifyCommand.getNotifiedEntity();
if (notifiedEntity == null) {
notifiedEntity = this.stack.provider.getNotifiedEntity();
代码示例来源:origin: ua.mobius.media.client/mgcp-driver
case Constants.CMD_NOTIFY:
Notify notifyCommand = (Notify) event;
NotifiedEntity notifiedEntity = notifyCommand.getNotifiedEntity();
if (notifiedEntity == null) {
notifiedEntity = this.stack.provider.getNotifiedEntity();
代码示例来源:origin: org.mobicents.jain/mobicents-mgcp-impl
if (logger.isDebugEnabled()) {
logger.debug("Sending Notify object to NotifiedEntity"
+ ((Notify) commandEvent).getNotifiedEntity());
内容来源于网络,如有侵权,请联系作者删除!