Record Class MqttStreamingContext
java.lang.Object
java.lang.Record
energy.eddie.aiida.streamers.mqtt.MqttStreamingContext
public record MqttStreamingContext(org.eclipse.paho.mqttv5.client.MqttAsyncClient client, MqttStreamingConfig streamingConfig, PermissionLatestRecordMap permissionLatestRecordMap)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMqttStreamingContext(org.eclipse.paho.mqttv5.client.MqttAsyncClient client, MqttStreamingConfig streamingConfig, PermissionLatestRecordMap permissionLatestRecordMap) Creates an instance of aMqttStreamingContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.paho.mqttv5.client.MqttAsyncClientclient()Returns the value of theclientrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepermissionLatestRecordMaprecord component.Returns the value of thestreamingConfigrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MqttStreamingContext
public MqttStreamingContext(org.eclipse.paho.mqttv5.client.MqttAsyncClient client, MqttStreamingConfig streamingConfig, PermissionLatestRecordMap permissionLatestRecordMap) Creates an instance of aMqttStreamingContextrecord class.- Parameters:
client- the value for theclientrecord componentstreamingConfig- the value for thestreamingConfigrecord componentpermissionLatestRecordMap- the value for thepermissionLatestRecordMaprecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
client
public org.eclipse.paho.mqttv5.client.MqttAsyncClient client()Returns the value of theclientrecord component.- Returns:
- the value of the
clientrecord component
-
streamingConfig
Returns the value of thestreamingConfigrecord component.- Returns:
- the value of the
streamingConfigrecord component
-
permissionLatestRecordMap
Returns the value of thepermissionLatestRecordMaprecord component.- Returns:
- the value of the
permissionLatestRecordMaprecord component
-