public class CPublisher extends ContextPublisher
Modifier and Type | Field and Description |
---|---|
protected static int |
samples |
protected static String |
URIROOT |
busResourceURI, owner, theBus
Modifier | Constructor and Description |
---|---|
protected |
CPublisher(ModuleContext context) |
protected |
CPublisher(ModuleContext context,
ContextProvider providerInfo) |
Modifier and Type | Method and Description |
---|---|
void |
communicationChannelBroken()
Method to be called when the communication of the Publisher with the
Context Bus is lost.
|
static ContextEvent |
getSample(int sample) |
long |
sendBurst(int size) |
void |
sendEventWithData() |
void |
sendSituation() |
long |
sendUniqueBurst(int size) |
busDyingOut, getMyID, publish
close, getComment, getLabel, getType, getURI, setComment, setLabel
protected static final int samples
protected static final String URIROOT
protected CPublisher(ModuleContext context, ContextProvider providerInfo)
protected CPublisher(ModuleContext context)
public void communicationChannelBroken()
ContextPublisher
communicationChannelBroken
in class ContextPublisher
public long sendBurst(int size)
public long sendUniqueBurst(int size)
public static ContextEvent getSample(int sample)
public void sendSituation()
public void sendEventWithData()
Copyright © 2018 universAAL Consortium. All rights reserved.