Class PubSubEvent
- java.lang.Object
-
- org.epics.archiverappliance.config.pubsub.PubSubEvent
-
- All Implemented Interfaces:
Serializable
public class PubSubEvent extends Object implements Serializable
Generic POJO for pubsub events within this cluster..- Author:
- mshankar
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PubSubEvent(String type, String destination, String pvName)
-
Method Summary
Modifier and Type Method Description String
generateEventDescription()
String
getDestination()
String
getEventData()
String
getPvName()
String
getSource()
String
getType()
boolean
isSourceCluster()
void
markSourceAsCluster()
void
setDestination(String destination)
void
setEventData(String eventData)
void
setPvName(String pvName)
void
setSource(String source)
void
setType(String type)
-
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
getSource
public String getSource()
-
setSource
public void setSource(String source)
-
getDestination
public String getDestination()
-
setDestination
public void setDestination(String destination)
-
getEventData
public String getEventData()
-
setEventData
public void setEventData(String eventData)
-
generateEventDescription
public String generateEventDescription()
-
isSourceCluster
public boolean isSourceCluster()
-
markSourceAsCluster
public void markSourceAsCluster()
-
getPvName
public String getPvName()
-
setPvName
public void setPvName(String pvName)
-
-