📄 publishretqoswrapper.java
字号:
/*------------------------------------------------------------------------------Name: PublishRetQosWrapper.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment: Holding two objects, allows us to return them both.Author: xmlBlaster@marcelruff.info------------------------------------------------------------------------------*/package org.xmlBlaster.engine.cluster;import org.xmlBlaster.client.qos.PublishReturnQos;/** * This class holds the PublishReturnQos (the returned QoS of a publish() call) and * the NodeDomainInfo object responsible for the publish() and allows us to return * them both on method return. * <p /> * The only reason that we need this class is to convey back the two above objects * on forwardPublish() calls. */public final class PublishRetQosWrapper { private NodeDomainInfo nodeDomainInfo; private PublishReturnQos publishRetQos; public PublishRetQosWrapper(NodeDomainInfo nodeDomainInfo, PublishReturnQos publishRetQos) { this.nodeDomainInfo = nodeDomainInfo; this.publishRetQos = publishRetQos; } public NodeDomainInfo getNodeDomainInfo() { return nodeDomainInfo; } public PublishReturnQos getPublishReturnQos() { return publishRetQos; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -