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 int
getKeepAliveTimeMinutes()
int
getKeepAliveTimeoutSeconds()
java.lang.String
getKeyCertChainFile()
java.lang.String
getKeyFile()
java.lang.String
getKeyPassword()
int
getMaxConnectionAgeSeconds()
int
getMaxInboundMessageSize()
int
getMaxInboundMetadataSize()
int
getPermitKeepAliveTimeMinutes()
boolean
getPermitKeepAliveWithoutCalls()
int
getPortChaincodeServer()
java.lang.String
getTrustCertCollectionFile()
boolean
isPermitKeepAliveWithoutCalls()
boolean
isTlsEnabled()
void
setKeepAliveTimeMinutes(int keepAliveTimeMinutes)
void
setKeepAliveTimeoutSeconds(int keepAliveTimeoutSeconds)
void
setKeyCertChainFile(java.lang.String keyCertChainFile)
void
setKeyFile(java.lang.String keyFile)
void
setKeyPassword(java.lang.String keyPassword)
void
setMaxConnectionAgeSeconds(int maxConnectionAgeSeconds)
void
setMaxInboundMessageSize(int maxInboundMessageSize)
void
setMaxInboundMetadataSize(int maxInboundMetadataSize)
void
setPermitKeepAliveTimeMinutes(int permitKeepAliveTimeMinutes)
void
setPermitKeepAliveWithoutCalls(boolean permitKeepAliveWithoutCalls)
void
setPortChaincodeServer(int portChaincodeServer)
void
setTlsEnabled(boolean tlsEnabled)
void
setTrustCertCollectionFile(java.lang.String trustCertCollectionFile)
void
validate()
-
-
-
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()
-
getPortChaincodeServer
public int getPortChaincodeServer()
-
setPortChaincodeServer
public void setPortChaincodeServer(int portChaincodeServer)
-
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() throws java.io.IOException
- Throws:
java.io.IOException
-
-