- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.thomsonreuters.upa.shared.rdm.yieldcurve.YieldCurveRequest
类的一些代码示例,展示了YieldCurveRequest
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YieldCurveRequest
类的具体详情如下:
包路径:com.thomsonreuters.upa.shared.rdm.yieldcurve.YieldCurveRequest
类名称:YieldCurveRequest
[英]The request message for yield curve domain.
[中]屈服曲线域的请求消息。
代码示例来源:origin: Refinitiv/Elektron-SDK
private int sendRequest(ChannelSession chnl, List<String> itemNames, Error error)
{
int ret = CodecReturnCodes.SUCCESS;
for (String itemName : itemNames)
{
Integer streamId = watchList.add(domainType, itemName, yieldCurveRequest.checkPrivateStream());
yieldCurveRequest.itemNames().clear();
yieldCurveRequest.itemNames().add(itemName);
yieldCurveRequest.streamId(streamId);
ret = encodeAndSendRequest(chnl, yieldCurveRequest, error);
if (ret < CodecReturnCodes.SUCCESS)
return ret;
}
return CodecReturnCodes.SUCCESS;
}
代码示例来源:origin: Refinitiv/Elektron-SDK
private YieldCurveRequest createYieldCurveRequest()
{
return new YieldCurveRequest();
}
代码示例来源:origin: Refinitiv/Elektron-SDK
stringBuf.append(tabChar);
stringBuf.append("streaming: ");
stringBuf.append(checkStreaming());
stringBuf.append(eolChar);
stringBuf.append(checkPrivateStream());
stringBuf.append(eolChar);
stringBuf.append(checkHasView());
stringBuf.append(eolChar);
stringBuf.append(itemNames());
stringBuf.append(eolChar);
if (checkHasServiceId())
stringBuf.append(serviceId());
stringBuf.append(eolChar);
if (checkHasPriority())
stringBuf.append(priorityClass());
stringBuf.append(", priority count: ");
stringBuf.append(priorityCount());
stringBuf.append(eolChar);
if (checkHasQos())
代码示例来源:origin: Refinitiv/Elektron-SDK
private void generateRequest(YieldCurveRequest yieldCurveRequest,
boolean isPrivateStream, Service srcDirInfo, LoginRefresh loginInfo)
{
yieldCurveRequest.clear();
if (!snapshotRequested)
yieldCurveRequest.applyStreaming();
yieldCurveRequest.applyHasServiceId();
yieldCurveRequest.serviceId(srcDirInfo.serviceId());
yieldCurveRequest.applyHasPriority();
yieldCurveRequest.priority(1, 1);
yieldCurveRequest.applyHasQos();
yieldCurveRequest.qos().dynamic(false);
yieldCurveRequest.qos().timeInfo(srcDirInfo.info().qosList().get(0).timeInfo());
yieldCurveRequest.qos().timeliness(srcDirInfo.info().qosList().get(0).timeliness());
yieldCurveRequest.qos().rateInfo(srcDirInfo.info().qosList().get(0).rateInfo());
yieldCurveRequest.qos().rate(srcDirInfo.info().qosList().get(0).rate());
if (isPrivateStream)
yieldCurveRequest.applyPrivateStream();
}
代码示例来源:origin: Refinitiv/Elektron-SDK
requestMsg.streamId(streamId());
requestMsg.domainType(domainType);
requestMsg.containerType(DataTypes.NO_DATA);
if (checkHasQos())
if (checkHasPriority())
requestMsg.priority().priorityClass(priorityClass());
requestMsg.priority().count(priorityCount());
if (checkStreaming())
applyFeatureFlags(isBatchRequest);
requestMsg.msgKey().serviceId(serviceId());
if (checkHasView() || isBatchRequest)
ret = encodeRequestPayload(isBatchRequest, encodeIter);
if (ret < CodecReturnCodes.SUCCESS)
return ret;
代码示例来源:origin: Refinitiv/Elektron-SDK
private int redirectToPrivateStream(int streamId, ReactorErrorInfo errorInfo)
{
WatchListEntry wle = watchList.get(streamId);
/* remove non-private stream entry from list */
removeYieldCurveItemEntry(streamId);
/* add item name to private stream list */
Integer psStreamId = watchList.add(domainType, wle.itemName, true);
generateRequest(yieldCurveRequest, true, redirectSrcDirInfo, redirectLoginInfo);
yieldCurveRequest.itemNames().add(wle.itemName);
yieldCurveRequest.streamId(psStreamId);
return encodeAndSendRequest(redirectChnl, yieldCurveRequest, errorInfo);
}
代码示例来源:origin: Refinitiv/Elektron-SDK
private void applyFeatureFlags(boolean isBatchRequest)
{
if (checkPrivateStream())
{
requestMsg.applyPrivateStream();
}
if (checkHasView() || isBatchRequest)
{
requestMsg.containerType(DataTypes.ELEMENT_LIST);
if (checkHasView())
{
requestMsg.applyHasView();
}
if (isBatchRequest)
{
requestMsg.applyHasBatch();
}
}
}
代码示例来源:origin: Refinitiv/Elektron-SDK
private void generateRequest(YieldCurveRequest yieldCurveRequest,
boolean isPrivateStream, Service srcDirInfo, LoginRefresh loginInfo)
{
yieldCurveRequest.clear();
if (!snapshotRequested)
yieldCurveRequest.applyStreaming();
yieldCurveRequest.applyHasServiceId();
yieldCurveRequest.serviceId(srcDirInfo.serviceId());
yieldCurveRequest.applyHasPriority();
yieldCurveRequest.priority(1, 1);
yieldCurveRequest.applyHasQos();
yieldCurveRequest.qos().dynamic(false);
yieldCurveRequest.qos().timeInfo(srcDirInfo.info().qosList().get(0).timeInfo());
yieldCurveRequest.qos().timeliness(srcDirInfo.info().qosList().get(0).timeliness());
yieldCurveRequest.qos().rateInfo(srcDirInfo.info().qosList().get(0).rateInfo());
yieldCurveRequest.qos().rate(srcDirInfo.info().qosList().get(0).rate());
if (isPrivateStream)
yieldCurveRequest.applyPrivateStream();
}
代码示例来源:origin: Refinitiv/Elektron-SDK
private int redirectToPrivateStream(int streamId, com.thomsonreuters.upa.transport.Error error)
{
WatchListEntry wle = watchList.get(streamId);
/* remove non-private stream entry from list */
removeYieldCurveItemEntry(streamId);
/* add item name to private stream list */
Integer psStreamId = watchList.add(domainType, wle.itemName, true);
generateRequest(yieldCurveRequest, true, redirectSrcDirInfo, redirectLoginInfo);
yieldCurveRequest.itemNames().add(wle.itemName);
yieldCurveRequest.streamId(psStreamId);
return encodeAndSendRequest(redirectChnl, yieldCurveRequest, error);
}
}
代码示例来源:origin: Refinitiv/Elektron-SDK
private int sendRequest(ReactorChannel chnl, List<String> itemNames, ReactorErrorInfo errorInfo)
{
int ret = CodecReturnCodes.SUCCESS;
for (String itemName : itemNames)
{
Integer streamId = watchList.add(domainType, itemName, yieldCurveRequest.checkPrivateStream());
yieldCurveRequest.itemNames().clear();
yieldCurveRequest.itemNames().add(itemName);
yieldCurveRequest.streamId(streamId);
ret = encodeAndSendRequest(chnl, yieldCurveRequest, errorInfo);
if (ret < CodecReturnCodes.SUCCESS)
return ret;
}
return CodecReturnCodes.SUCCESS;
}
代码示例来源:origin: Refinitiv/Elektron-SDK
private YieldCurveRequest createYieldCurveRequest()
{
return new YieldCurveRequest();
}
代码示例来源:origin: Refinitiv/Elektron-SDK
private int sendBatchRequest(ReactorChannel chnl, List<String> itemNames, ReactorErrorInfo errorInfo)
{
int batchStreamId = watchList.add(domainType, "BATCH_" + new Date(),
yieldCurveRequest.checkPrivateStream());
yieldCurveRequest.streamId(batchStreamId);
for (String itemName : itemNames)
{
watchList.add(domainType, itemName, yieldCurveRequest.checkPrivateStream());
yieldCurveRequest.itemNames().add(itemName);
}
return encodeAndSendRequest(chnl, yieldCurveRequest, errorInfo);
}
代码示例来源:origin: Refinitiv/Elektron-SDK
private int sendBatchRequest(ChannelSession chnl, List<String> itemNames, Error error)
{
int batchStreamId = watchList.add(domainType, "BATCH_" + new Date(),
yieldCurveRequest.checkPrivateStream());
yieldCurveRequest.streamId(batchStreamId);
for (String itemName : itemNames)
{
watchList.add(domainType, itemName, yieldCurveRequest.checkPrivateStream());
yieldCurveRequest.itemNames().add(itemName);
}
return encodeAndSendRequest(chnl, yieldCurveRequest, error);
}
我最近遇到了 .NET 的 RDM 套接字类型 (SocketType.Rdm),它的功能听起来很有前途,听起来非常像一种可靠的无连接协议(protocol)。但是,我没有找到它的用法示例,而且关于协
在移动设备上使用 Firefox 时,触摸元素会触发 :hover伪类。但是,当在响应式设计模式下在 PC 上使用 Firefox 并且触摸模拟处于事件状态时,:hover不会通过在元素上单击鼠标按钮
本文整理了Java中com.thomsonreuters.upa.shared.rdm.yieldcurve.YieldCurveRequest类的一些代码示例,展示了YieldCurveReques
我想在 VMWare 环境中的 Ubuntu VM 上使用一些设备。我可以选择将它们用作 RDM 或 VMDK。由于性能优势,我最初考虑将它们用作 RDM。但是,由于兼容性(在 ubuntu 版本、u
本文整理了Java中com.thomsonreuters.upa.shared.rdm.yieldcurve.YieldCurveRequest.checkPrivateStream()方法的一些代码
本文整理了Java中com.thomsonreuters.upa.shared.rdm.yieldcurve.YieldCurveRequest.streamId()方法的一些代码示例,展示了Yiel
本文整理了Java中com.thomsonreuters.upa.shared.rdm.yieldcurve.YieldCurveRequest.serviceId()方法的一些代码示例,展示了Yie
我无法使用 Redis 桌面管理器 (RDM) 通过安全连接(基于 SSL)连接到 Redis 容器。所以,我一起部署了两个容器: Redis 容器暴露端口 6379 Nginx 镜像,它接受来自 r
我是一名优秀的程序员,十分优秀!