| Modifier and Type | Method and Description |
|---|---|
BValue |
copy()
Deep copy
BValue. |
String |
getStreamId() |
BType |
getType() |
void |
publish(BStruct data)
Method to publish to a topic representing the stream in the broker.
|
String |
stringValue() |
void |
subscribe(Context context,
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 void publish(BStruct data)
data - the data to publish to the streampublic void subscribe(Context context, BFunctionPointer functionPointer)
context - the context object representing runtime statefunctionPointer - represents the function pointer reference for the function to be invoked on receiving
messagespublic void subscribe(InputHandler inputHandler)
Copyright © 2018 WSO2. All rights reserved.