org.eclipse.paho.client.mqttv3.DisconnectedBufferOptions Java Examples

The following examples show how to use org.eclipse.paho.client.mqttv3.DisconnectedBufferOptions. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MqttConnection.java    From Sparkplug with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * Sets the DisconnectedBufferOptions for this client
 * @param bufferOpts
 */
public void setBufferOpts(DisconnectedBufferOptions bufferOpts) {
	this.bufferOpts = bufferOpts;
	myClient.setBufferOpts(bufferOpts);
}
 
Example #2
Source File: MqttService.java    From Sparkplug with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Sets the DisconnectedBufferOptions for this client
 * @param clientHandle identifier for the client
 * @param bufferOpts the DisconnectedBufferOptions for this client
 */
public void setBufferOpts(String clientHandle, DisconnectedBufferOptions bufferOpts) {
  MqttConnection client = getConnection(clientHandle);
  client.setBufferOpts(bufferOpts);
}
 
Example #3
Source File: MqttAndroidClient.java    From Sparkplug with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Sets the DisconnectedBufferOptions for this client
 * @param bufferOpts the DisconnectedBufferOptions
 */
public void setBufferOpts(DisconnectedBufferOptions bufferOpts) {
	mqttService.setBufferOpts(clientHandle, bufferOpts);
}