Package org.hyperledger.fabric.shim
Class ChaincodeServerProperties
- java.lang.Object
-
- org.hyperledger.fabric.shim.ChaincodeServerProperties
-
public final class ChaincodeServerProperties extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ChaincodeServerProperties()ChaincodeServerProperties(int portChaincodeServer, int maxInboundMetadataSize, int maxInboundMessageSize, int maxConnectionAgeSeconds, int keepAliveTimeoutSeconds, int permitKeepAliveTimeMinutes, int keepAliveTimeMinutes, boolean permitKeepAliveWithoutCalls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetKeepAliveTimeMinutes()intgetKeepAliveTimeoutSeconds()java.lang.StringgetKeyCertChainFile()java.lang.StringgetKeyFile()java.lang.StringgetKeyPassword()intgetMaxConnectionAgeSeconds()intgetMaxInboundMessageSize()intgetMaxInboundMetadataSize()intgetPermitKeepAliveTimeMinutes()booleangetPermitKeepAliveWithoutCalls()java.net.SocketAddressgetServerAddress()java.lang.StringgetTrustCertCollectionFile()booleanisPermitKeepAliveWithoutCalls()booleanisTlsEnabled()voidsetKeepAliveTimeMinutes(int keepAliveTimeMinutes)voidsetKeepAliveTimeoutSeconds(int keepAliveTimeoutSeconds)voidsetKeyCertChainFile(java.lang.String keyCertChainFile)voidsetKeyFile(java.lang.String keyFile)voidsetKeyPassword(java.lang.String keyPassword)voidsetMaxConnectionAgeSeconds(int maxConnectionAgeSeconds)voidsetMaxInboundMessageSize(int maxInboundMessageSize)voidsetMaxInboundMetadataSize(int maxInboundMetadataSize)voidsetPermitKeepAliveTimeMinutes(int permitKeepAliveTimeMinutes)voidsetPermitKeepAliveWithoutCalls(boolean permitKeepAliveWithoutCalls)voidsetServerAddress(java.net.SocketAddress address)voidsetTlsEnabled(boolean tlsEnabled)voidsetTrustCertCollectionFile(java.lang.String trustCertCollectionFile)voidvalidate()
-
-
-
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()
-
-