publishretqoswrapper.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 31 行

JAVA
31
字号
/*------------------------------------------------------------------------------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 + =
减小字号Ctrl + -
显示快捷键?