| Modifier and Type | Method and Description |
|---|---|
BValue |
copy()
Deep copy
BValue. |
BType |
getConstraintType() |
String |
getStreamId() |
BType |
getType() |
void |
publish(BValue data)
Method to publish to a topic representing the stream in the broker.
|
String |
stringValue() |
void |
subscribe(BFunctionPointer functionPointer)
Method to register a subscription to the underlying topic representing the stream in the broker.
|
void |
subscribe(InputHandler inputHandler) |
Object |
value() |
public String getStreamId()
public String stringValue()
stringValue in interface BValuepublic BType getConstraintType()
public void publish(BValue data)
data - the data to publish to the streampublic void subscribe(BFunctionPointer functionPointer)
functionPointer - represents the function pointer reference for the function to be invoked on receiving
messagespublic void subscribe(InputHandler inputHandler)
Copyright © 2018 WSO2. All rights reserved.