jain.protocol.ip.mgcp.message.Notify.getEndpointIdentifier()方法的使用及代码示例

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

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

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());

相关文章