Class ChaincodeServerProperties


  • public final class ChaincodeServerProperties
    extends java.lang.Object
    • Constructor Detail

      • ChaincodeServerProperties

        public ChaincodeServerProperties()
      • ChaincodeServerProperties

        public ChaincodeServerProperties​(int portChaincodeServer,
                                         int maxInboundMetadataSize,
                                         int maxInboundMessageSize,
                                         int maxConnectionAgeSeconds,
                                         int keepAliveTimeoutSeconds,
                                         int permitKeepAliveTimeMinutes,
                                         int keepAliveTimeMinutes,
                                         boolean permitKeepAliveWithoutCalls)
    • Method Detail

      • getMaxInboundMetadataSize

        public int getMaxInboundMetadataSize()
      • setMaxInboundMetadataSize

        public void setMaxInboundMetadataSize​(int maxInboundMetadataSize)
      • getMaxInboundMessageSize

        public int getMaxInboundMessageSize()
      • setMaxInboundMessageSize

        public void setMaxInboundMessageSize​(int maxInboundMessageSize)
      • getMaxConnectionAgeSeconds

        public int getMaxConnectionAgeSeconds()
      • setMaxConnectionAgeSeconds

        public void setMaxConnectionAgeSeconds​(int maxConnectionAgeSeconds)
      • getKeepAliveTimeoutSeconds

        public int getKeepAliveTimeoutSeconds()
      • setKeepAliveTimeoutSeconds

        public void setKeepAliveTimeoutSeconds​(int keepAliveTimeoutSeconds)
      • getPermitKeepAliveTimeMinutes

        public int getPermitKeepAliveTimeMinutes()
      • setPermitKeepAliveTimeMinutes

        public void setPermitKeepAliveTimeMinutes​(int permitKeepAliveTimeMinutes)
      • getKeepAliveTimeMinutes

        public int getKeepAliveTimeMinutes()
      • setKeepAliveTimeMinutes

        public void setKeepAliveTimeMinutes​(int keepAliveTimeMinutes)
      • getPermitKeepAliveWithoutCalls

        public boolean getPermitKeepAliveWithoutCalls()
      • getServerAddress

        public java.net.SocketAddress getServerAddress()
      • setServerAddress

        public void setServerAddress​(java.net.SocketAddress address)
      • isPermitKeepAliveWithoutCalls

        public boolean isPermitKeepAliveWithoutCalls()
      • setPermitKeepAliveWithoutCalls

        public void setPermitKeepAliveWithoutCalls​(boolean permitKeepAliveWithoutCalls)
      • getKeyPassword

        public java.lang.String getKeyPassword()
      • setKeyPassword

        public void setKeyPassword​(java.lang.String keyPassword)
      • getKeyCertChainFile

        public java.lang.String getKeyCertChainFile()
      • setKeyCertChainFile

        public void setKeyCertChainFile​(java.lang.String keyCertChainFile)
      • getKeyFile

        public java.lang.String getKeyFile()
      • setKeyFile

        public void setKeyFile​(java.lang.String keyFile)
      • getTrustCertCollectionFile

        public java.lang.String getTrustCertCollectionFile()
      • setTrustCertCollectionFile

        public void setTrustCertCollectionFile​(java.lang.String trustCertCollectionFile)
      • isTlsEnabled

        public boolean isTlsEnabled()
      • setTlsEnabled

        public void setTlsEnabled​(boolean tlsEnabled)
      • validate

        public void validate()