本文整理了Java中jain.protocol.ip.mgcp.message.Notify.getEndpointIdentifier()
方法的一些代码示例,展示了Notify.getEndpointIdentifier()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Notify.getEndpointIdentifier()
方法的具体详情如下:
包路径:jain.protocol.ip.mgcp.message.Notify
类名称:Notify
方法名:getEndpointIdentifier
暂无
代码示例来源: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: org.mobicents.media.client/mgcp-driver
totalLength+=StringFunctions.encodeInt(array,5,event.getTransactionHandle());
array[totalLength++]=StringFunctions.SPACE_BYTE;
totalLength+=EndpointIdentifierHandler.encode(array,totalLength,evt.getEndpointIdentifier());
array[totalLength++]=StringFunctions.SPACE_BYTE;
System.arraycopy(MGCP_VERSION, 0, array, totalLength, MGCP_VERSION.length);
代码示例来源:origin: ua.mobius.media.client/mgcp-driver
totalLength+=StringFunctions.encodeInt(array,5,event.getTransactionHandle());
array[totalLength++]=StringFunctions.SPACE_BYTE;
totalLength+=EndpointIdentifierHandler.encode(array,totalLength,evt.getEndpointIdentifier());
array[totalLength++]=StringFunctions.SPACE_BYTE;
System.arraycopy(MGCP_VERSION, 0, array, totalLength, MGCP_VERSION.length);
代码示例来源:origin: org.mobicents.examples/mgcp-demo-recorder-sbb
.getEndpointIdentifier(), mgcpProvider.getUniqueRequestIdentifier());
内容来源于网络,如有侵权,请联系作者删除!