org.epics.gpclient.datasource.pva.PVAConnectionPayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gpclient-pva Show documentation
Show all versions of gpclient-pva Show documentation
Support for PVAccess data source for the EPICS Generic Purpose Client.
/**
* Copyright information and license terms for this software can be
* found in the file LICENSE.TXT included with the distribution.
*/
package org.epics.gpclient.datasource.pva;
import java.util.LinkedHashMap;
import java.util.Map;
import org.epics.pvdata.pv.Field;
/**
*
* @author carcassi
*/
class PVAConnectionPayload {
final Field channelType;
final boolean connected;
final String extractFieldName;
public PVAConnectionPayload(Field channelType, boolean connected, String extractFieldName) {
this.channelType = channelType;
this.connected = connected;
this.extractFieldName = extractFieldName;
}
@Override
public String toString() {
Map properties = new LinkedHashMap<>();
properties.put("connected", connected);
properties.put("channelType", channelType);
properties.put("extractFieldName", extractFieldName);
return properties.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy