Classes Files

com::wombat::mama::MamaTransport

Public Functions

  Name
  MamaTransport()
void setTransportCallbackQueue(MamaQueue queue)
void addTransportListener(MamaTransportListener transportListener)
void addTransportTopicListener(MamaTransportTopicListener transportTopicListener)
void removeTransportListener(MamaTransportListener transportListener)
void removeTransportTopicListener()
long getPointerVal()
void create(MamaBridge bridge)
native void _create(MamaBridge bridge)
void create(String name, MamaBridge bridge)
native void _create(String name, MamaBridge bridge)
native void destroy()
double getOutboundThrottle(MamaThrottleInstance throttleInstance)
double getOutboundThrottle()
void setOutboundThrottle(MamaThrottleInstance throttleInstance, double outboundThrottle)
void setOutboundThrottle(double outboundThrottle)
native void setDescription(String description)
native String getDescription()
native void setInvokeQualityForAllSubscs(boolean invokeQualityForAllSubscs)
native boolean getInvokeQualityForAllSubscs()
native short getQuality()
MamaBridge getBridge()
native void requestConflation()
native void requestEndConflation()
native String getName()
native void setName(String name)

Protected Functions

  Name
void setPointerVal(long pointerVal)

Public Functions Documentation

function MamaTransport

inline MamaTransport()

The constructor initialises all member variables and creates the re-usable objects including the transport listeners.

function setTransportCallbackQueue

inline void setTransportCallbackQueue(
    MamaQueue queue
)

Set the callback queue.

function addTransportListener

inline void addTransportListener(
    MamaTransportListener transportListener
)

Parameters:

  • transportListener The new listener, null can be passed to remove the current listener.

This function will set the client listener, note that only one listener or extended listener is supported at any one time.

function addTransportTopicListener

inline void addTransportTopicListener(
    MamaTransportTopicListener transportTopicListener
)

Parameters:

  • transportTopicListener The new listener, null can be passed to remove the current listener.

This function will set the client topic listener, note that only one topic listener is supported at any one time.

function removeTransportListener

inline void removeTransportListener(
    MamaTransportListener transportListener
)

Parameters:

  • transportListener The transport listener. Note that this parameter is currently redundant.

This function will remove the current transport listener. It will actually remove both the basic and extended listeners.

function removeTransportTopicListener

inline void removeTransportTopicListener()

This function will remove the current topic listener.

function getPointerVal

inline long getPointerVal()

function create

inline void create(
    MamaBridge bridge
)

function _create

native void _create(
    MamaBridge bridge
)

function create

inline void create(
    String name,
    MamaBridge bridge
)

function _create

native void _create(
    String name,
    MamaBridge bridge
)

function destroy

native void destroy()

function getOutboundThrottle

inline double getOutboundThrottle(
    MamaThrottleInstance throttleInstance
)

function getOutboundThrottle

inline double getOutboundThrottle()

function setOutboundThrottle

inline void setOutboundThrottle(
    MamaThrottleInstance throttleInstance,
    double outboundThrottle
)

function setOutboundThrottle

inline void setOutboundThrottle(
    double outboundThrottle
)

function setDescription

native void setDescription(
    String description
)

function getDescription

native String getDescription()

function setInvokeQualityForAllSubscs

native void setInvokeQualityForAllSubscs(
    boolean invokeQualityForAllSubscs
)

function getInvokeQualityForAllSubscs

native boolean getInvokeQualityForAllSubscs()

function getQuality

native short getQuality()

function getBridge

inline MamaBridge getBridge()

function requestConflation

native void requestConflation()

function requestEndConflation

native void requestEndConflation()

function getName

native String getName()

function setName

native void setName(
    String name
)

Protected Functions Documentation

function setPointerVal

inline void setPointerVal(
    long pointerVal
)

Updated on 2023-03-31 at 15:29:44 +0100