Inherits from com.wombat.mama.MamaSourceManager
Inherited by com.wombat.mama.MamaSourceDerivative
Name | |
---|---|
MamaSource() | |
MamaSource(final String sourceId, MamaTransport transport, final String symbolNamespace) | |
native void | setId(final String sourceId) |
native void | setMappedId(final String mappedId) |
native void | setDisplayId(final String displayId) |
native void | setQuality(short quality) |
void | setState(MamaSourceState state) |
void | setParent(MamaSource parent) |
native void | setSymbolNamespace(final String symbolNamespace) |
void | setTransportName(final String transportName) |
void | setTransport(MamaTransport transport) |
native final String | getId() |
native final String | getMappedId() |
native final String | getDisplayId() |
native short | getQuality() |
MamaSourceState | getState() |
String | getStateAsString() |
MamaSource | getParent() |
native final String | getSymbolNamespace() |
MamaTransport | getTransport() |
void | addSubscription(final String key, MamaSubscription subscription) |
MamaSubscription | findSubscription(final String key) |
boolean | isPartOf(MamaSource source) |
void | destroy() |
Public Functions inherited from com.wombat.mama.MamaSourceManager
Name | |
---|---|
MamaSourceManager() | |
MamaSource | findOrCreateSource(final String sourceName) |
MamaSource | findSource(final String sourceName) |
void | addSource(MamaSource mamaSource) |
void | addSource(MamaSource mamaSource, final String sourceName) |
int | getSize() |
Iterator | sourceIterator() |
class com::wombat::mama::MamaSource;
A MAMA source maintains information about a data source, including the quality of the data coming from that source. It inherits MamaSourceManager because a source can have sub-sources.
inline MamaSource()
Creates a new mama source with default parameters
inline MamaSource(
final String sourceId,
MamaTransport transport,
final String symbolNamespace
)
native void setId(
final String sourceId
)
native void setMappedId(
final String mappedId
)
native void setDisplayId(
final String displayId
)
native void setQuality(
short quality
)
inline void setState(
MamaSourceState state
)
inline void setParent(
MamaSource parent
)
native void setSymbolNamespace(
final String symbolNamespace
)
inline void setTransportName(
final String transportName
)
inline void setTransport(
MamaTransport transport
)
native final String getId()
native final String getMappedId()
native final String getDisplayId()
native short getQuality()
Reimplemented by: com::wombat::mama::MamaSourceDerivative::getQuality
inline MamaSourceState getState()
Return: The state of the source object
Reimplemented by: com::wombat::mama::MamaSourceDerivative::getState
Get the state of a mama source object
inline String getStateAsString()
Return: The stringified state of the source object
Get the stringified state name of a mama source object
inline MamaSource getParent()
Return: MamaSource parent object
Get the parent source of the mama source object
native final String getSymbolNamespace()
inline MamaTransport getTransport()
inline void addSubscription(
final String key,
MamaSubscription subscription
)
Parameters:
Exceptions:
Add a subscriptions to the mamaSource
inline MamaSubscription findSubscription(
final String key
)
Parameters:
Return: The mama subscription object
find a MamaSubscription, null will be returned if not found
inline boolean isPartOf(
MamaSource source
)
inline void destroy()
Reimplements: com::wombat::mama::MamaSourceManager::destroy
Updated on 2023-03-31 at 15:29:43 +0100