Package org.epics.gpclient.datasource
Class WriteSubscription
- java.lang.Object
-
- org.epics.gpclient.datasource.WriteSubscription
-
public class WriteSubscription extends Object
The information for a write subscription to a datasource channel. It consists of a channel name, which identifies the channel, and a collector, which is used to update the data.- Author:
- carcassi
-
-
Constructor Summary
Constructors Constructor Description WriteSubscription(String channelName, WriteCollector writeCollector)
Creates a new write subscription for the given channel and collector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getChannelName()
The name of the channel to write to.WriteCollector
getCollector()
The collector to be connected to the channel.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
WriteSubscription
public WriteSubscription(String channelName, WriteCollector writeCollector)
Creates a new write subscription for the given channel and collector.- Parameters:
channelName
- the name of the channel to connect towriteCollector
- the collector for the write operations
-
-
Method Detail
-
getChannelName
public String getChannelName()
The name of the channel to write to.- Returns:
- the channel name
-
getCollector
public WriteCollector getCollector()
The collector to be connected to the channel.- Returns:
- the write collector
-
-