@Configuration(friendlyName="Configuration") public class CoAPClientConfig extends EndpointConfig
Constructor and Description |
---|
CoAPClientConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Gets the configured server host.
|
InetSocketAddress |
getLocalAddress()
Gets the local address.
|
Integer |
getPort()
Gets the configured server port.
|
boolean |
isLogMessages()
Indicates whether CoAP messages should be logged
|
boolean |
isSecure()
Establish whether the CoAP communication must be secure.
|
void |
setHost(String host)
Sets the configured server host.
|
void |
setLogMessages(boolean logMessages)
Set flag that indicates whether CoAP messages should be logged
|
void |
setPort(Integer port)
Sets the configured server port.
|
void |
setSecure(boolean secure)
Sets the flag whether the CoAP communication must be secure.
|
getAckRandomFactor, getAckTimeout, getAckTimeoutScale, getBindToHost, getBindToPort, getBindToSecurePort, getBlockwiseStatusLifetime, getCongestionControlAlgorithm, getCropRotationPeriod, getDeduplicator, getDeduplicatorCropRotation, getDeduplicatorMarkAndSweep, getExchangeLifetime, getHealthStatusInterval, getHealthStatusPrintLevel, getKeyStoreLocation, getKeyStorePassword, getLeisure, getMarkAndSweepInterval, getMaxMessageSize, getMaxRetransmit, getMaxTransmitWait, getNetworkConfig, getNetworkStageReceiverThreadCount, getNetworkStageSenderThreadCount, getNoDeduplicator, getNonLifetime, getNotificationCheckIntervalCount, getNotificationCheckIntervalTime, getNotificationReregistrationBackoff, getNstart, getPreferredBlockSize, getPrivateKeyAlias, getProbingRate, getProtocolStageThreadCount, getTokenSizeLimit, getTrustedRootCertificateAlias, getTrustStoreLocation, getTrustStorePassword, getUdpConnectorDatagramSize, getUdpConnectorOutCapacity, getUdpConnectorReceiveBuffer, getUdpConnectorSendBuffer, getUseCongestionControl, getUseRandomMidStart, setAckRandomFactor, setAckTimeout, setAckTimeoutScale, setBindToHost, setBindToPort, setBindToSecurePort, setBlockwiseStatusLifetime, setCongestionControlAlgorithm, setCropRotationPeriod, setDeduplicator, setDeduplicatorCropRotation, setDeduplicatorMarkAndSweep, setExchangeLifetime, setHealthStatusInterval, setHealthStatusPrintLevel, setKeyStoreLocation, setKeyStorePassword, setLeisure, setMarkAndSweepInterval, setMaxMessageSize, setMaxRetransmit, setMaxTransmitWait, setNetworkStageReceiverThreadCount, setNetworkStageSenderThreadCount, setNoDeduplicator, setNonLifetime, setNotificationCheckIntervalCount, setNotificationCheckIntervalTime, setNotificationReregistrationBackoff, setNstart, setPreferredBlockSize, setPrivateKeyAlias, setProbingRate, setProtocolStageThreadCount, setTokenSizeLimit, setTrustedRootCertificateAlias, setTrustStoreLocation, setTrustStorePassword, setUdpConnectorDatagramSize, setUdpConnectorOutCapacity, setUdpConnectorReceiveBuffer, setUdpConnectorSendBuffer, setUseCongestionControl, setUseRandomMidStart
public InetSocketAddress getLocalAddress()
public String getHost()
public void setHost(String host)
host
- The host to set.public Integer getPort()
public void setPort(Integer port)
port
- the port to setpublic boolean isSecure()
public void setSecure(boolean secure)
secure
- The security flag to set.public boolean isLogMessages()
public void setLogMessages(boolean logMessages)
logMessages
- the logMessages to setCopyright © 2010–2018. All rights reserved.