Package cern.dip.implementation
Class DipPublicationImpBase
- java.lang.Object
-
- cern.dip.implementation.FactoryProduct
-
- cern.dip.implementation.DipPublicationImpBase
-
- All Implemented Interfaces:
DipPublication
- Direct Known Subclasses:
DipPublicationImp
,MockDipPublication
public abstract class DipPublicationImpBase extends FactoryProduct implements DipPublication
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
Name of the publication-
Fields inherited from class cern.dip.implementation.FactoryProduct
destroyed
-
-
Constructor Summary
Constructors Constructor Description DipPublicationImpBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract DipFactory
getFactory()
java.lang.String
getTopicName()
Returns Name of the publication.void
send(boolean[] value, DipTimestamp timestamp)
Sends publication datavoid
send(boolean value, DipTimestamp timestamp)
Sends publication datavoid
send(byte[] value, DipTimestamp timestamp)
Sends publication datavoid
send(byte value, DipTimestamp timestamp)
Sends publication datavoid
send(double[] value, DipTimestamp timestamp)
Sends publication datavoid
send(double value, DipTimestamp timestamp)
Sends publication datavoid
send(float[] value, DipTimestamp timestamp)
Sends publication datavoid
send(float value, DipTimestamp timestamp)
Sends publication datavoid
send(int[] value, DipTimestamp timestamp)
Sends publication datavoid
send(int value, DipTimestamp timestamp)
Sends publication datavoid
send(long[] value, DipTimestamp timestamp)
Sends publication datavoid
send(long value, DipTimestamp timestamp)
Sends publication datavoid
send(short[] value, DipTimestamp timestamp)
Sends publication datavoid
send(short value, DipTimestamp timestamp)
Sends publication datavoid
send(java.lang.String[] value, DipTimestamp timestamp)
Sends publication datavoid
send(java.lang.String value, DipTimestamp timestamp)
Sends publication dataprotected abstract void
sendData(DipData data, DipTimestamp timestamp)
-
Methods inherited from class cern.dip.implementation.FactoryProduct
isDestroyed, setDestroyed, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cern.dip.DipPublication
send, send, setQualityBad, setQualityBad, setQualityUncertain, setQualityUncertain
-
-
-
-
Method Detail
-
getFactory
protected abstract DipFactory getFactory()
-
sendData
protected abstract void sendData(DipData data, DipTimestamp timestamp) throws DipException
- Throws:
DipException
-
getTopicName
public java.lang.String getTopicName()
Description copied from interface:DipPublication
Returns Name of the publication.- Specified by:
getTopicName
in interfaceDipPublication
-
send
public void send(double value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(double[] value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(short value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(short[] value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(int value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(int[] value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(float value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(float[] value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(long value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(long[] value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(byte value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(byte[] value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(boolean value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(boolean[] value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(java.lang.String value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
send
public void send(java.lang.String[] value, DipTimestamp timestamp) throws DipException
Description copied from interface:DipPublication
Sends publication data- Specified by:
send
in interfaceDipPublication
- Parameters:
value
- - data to be sent.timestamp
- - time data was obtained.- Throws:
DipException
-
-