public class DipSubscriptionImp extends FactoryProduct implements DipSubscription
destroyed
Constructor and Description |
---|
DipSubscriptionImp(DipFactory fact,
String topicName,
DipSubscriptionListener list) |
Modifier and Type | Method and Description |
---|---|
void |
connected()
Delegates to the Listener.
|
void |
disconnected(String reason)
Delegates to the Listener.
|
void |
finalize() |
String |
getTopicName()
Returns Name of the DipData item this object is subscribed to.
|
void |
handleException(Exception ex)
Delegates to the Listener.
|
void |
handleMessage(String format,
ByteBuffer buffer,
int quality,
String qualityreason,
long timeStamp_ns)
Delegates to the Listener.
|
void |
requestUpdate()
Requests last value to be re-send.
|
protected void |
setDestroyed()
Mark object as destoyed - will cause the C++ representation to be removed
|
isDestroyed, validate
public DipSubscriptionImp(DipFactory fact, String topicName, DipSubscriptionListener list) throws DipException
DipException
public String getTopicName()
DipSubscription
getTopicName
in interface DipSubscription
public void requestUpdate()
DipSubscription
requestUpdate
in interface DipSubscription
public void connected()
public void disconnected(String reason)
public void handleException(Exception ex)
public void handleMessage(String format, ByteBuffer buffer, int quality, String qualityreason, long timeStamp_ns)
protected void setDestroyed()
setDestroyed
in class FactoryProduct
Copyright © 2008–2017 CERN. All rights reserved.