UM .NET API
6.16.1
|
LBM Monitor Receiver class. More...
Public Member Functions | |
LBMMonitorReceiver (int formatter, string formatOpts, int transport, string transportOpts) | |
Create an LBM Monitoring Receiver Controller. This creates an instance of an LBM Monitoring Receive Controller. More... | |
LBMMonitorReceiver (int formatter, string formatOpts, int transport, string transportOpts, LBMObjectRecyclerBase recycler, Object objRecCbArg) | |
Create an LBM Monitoring Receiver Controller. This creates an instance of an LBM Monitoring Receive Controller. More... | |
void | close () |
Close and dispose of this monitor receiver. | |
void | addStatisticsCallback (LBMMonitorSourceStatisticsCallback cb) |
Register source statistics callbacks. More... | |
void | addStatisticsCallback (LBMMonitorReceiverStatisticsCallback cb) |
Register receiver statistics callbacks. More... | |
void | addStatisticsCallback (LBMMonitorEventQueueStatisticsCallback cb) |
Register event queue statistics callbacks. More... | |
void | addStatisticsCallback (LBMMonitorContextStatisticsCallback cb) |
Register context statistics callbacks. More... | |
void | addStatisticsCallback (LBMMonitorImmediateMessageSourceStatisticsCallback cb) |
Register immediate message source statistics callbacks. More... | |
void | addStatisticsCallback (LBMMonitorImmediateMessageReceiverStatisticsCallback cb) |
Register immediate message receiver statistics callbacks. More... | |
void | addStatisticsCallback (LBMMonitorSourceStatisticsCallback scb, LBMMonitorReceiverStatisticsCallback rcb) |
Register statistics callbacks. More... | |
void | addStatisticsCallback (LBMMonitorSourceStatisticsCallback scb, LBMMonitorReceiverStatisticsCallback rcb, LBMMonitorEventQueueStatisticsCallback evqcb, LBMMonitorContextStatisticsCallback ctxcb) |
Register statistics callbacks. More... | |
void | removeStatisticsCallback (LBMMonitorSourceStatisticsCallback cb) |
Deregister a previously registered source statistics callback. More... | |
void | removeStatisticsCallback (LBMMonitorReceiverStatisticsCallback cb) |
Deregister a previously registered receiver statistics callback. More... | |
void | removeStatisticsCallback (LBMMonitorEventQueueStatisticsCallback cb) |
Deregister a previously registered event queue statistics callback. More... | |
void | removeStatisticsCallback (LBMMonitorContextStatisticsCallback cb) |
Deregister a previously registered context statistics callback. More... | |
void | removeStatisticsCallback (LBMMonitorImmediateMessageSourceStatisticsCallback cb) |
Deregister a previously registered immediate message source statistics callback. More... | |
void | removeStatisticsCallback (LBMMonitorImmediateMessageReceiverStatisticsCallback cb) |
Deregister a previously registered immediate message receiver statistics callback. More... | |
void | removeStatisticsCallback (LBMMonitorSourceStatisticsCallback scb, LBMMonitorReceiverStatisticsCallback rcb) |
Deregister previously registered statistics callbacks. More... | |
void | removeStatisticsCallback (LBMMonitorSourceStatisticsCallback scb, LBMMonitorReceiverStatisticsCallback rcb, LBMMonitorEventQueueStatisticsCallback evqcb, LBMMonitorContextStatisticsCallback ctxcb) |
Deregister previously registered statistics callbacks. More... | |
void | Dispose () |
Same as close. More... | |
LBM Monitor Receiver class.
com.latencybusters.lbm.LBMMonitorReceiver.LBMMonitorReceiver | ( | int | formatter, |
string | formatOpts, | ||
int | transport, | ||
string | transportOpts | ||
) |
Create an LBM Monitoring Receiver Controller. This creates an instance of an LBM Monitoring Receive Controller.
formatter | Format module type |
formatOpts | A block of data which is passed to the format module's initialization function. This may be used to pass configuration options to the format module. |
transport | Transport module type |
transportOpts | A block of data which is passed to the transport module's initialization function. This may be used to pass configuration options to the transport module. |
com.latencybusters.lbm.LBMEInvalException | Unsupported format type |
com.latencybusters.lbm.LBMEInvalException | Unsupported transport type |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBMMonitor.EINVAL, com.latencybusters.lbm.LBMMonitor.errorMessage(), and com.latencybusters.lbm.LBMMonitor.errorNumber().
com.latencybusters.lbm.LBMMonitorReceiver.LBMMonitorReceiver | ( | int | formatter, |
string | formatOpts, | ||
int | transport, | ||
string | transportOpts, | ||
LBMObjectRecyclerBase | recycler, | ||
Object | objRecCbArg | ||
) |
Create an LBM Monitoring Receiver Controller. This creates an instance of an LBM Monitoring Receive Controller.
formatter | Format module type |
formatOpts | A block of data which is passed to the format module's initialization function. This may be used to pass configuration options to the format module. |
transport | Transport module type |
transportOpts | A block of data which is passed to the transport module's initialization function. This may be used to pass configuration options to the transport module. |
recycler | an object recycler to handle recycling stats objects. Only the last callback should call the doneWith method to return the stat object back to the recycler. |
objRecCbArg | a callback object token that will be passed to the recycler (normally null is used) |
com.latencybusters.lbm.LBMEInvalException | Unsupported format type |
com.latencybusters.lbm.LBMEInvalException | Unsupported transport type |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
void com.latencybusters.lbm.LBMMonitorReceiver.addStatisticsCallback | ( | LBMMonitorSourceStatisticsCallback | cb | ) |
Register source statistics callbacks.
cb | Callback implementing the LBMMonitorSourceStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.addStatisticsCallback | ( | LBMMonitorReceiverStatisticsCallback | cb | ) |
Register receiver statistics callbacks.
cb | Callback implementing the LBMMonitorReceiverStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.addStatisticsCallback | ( | LBMMonitorEventQueueStatisticsCallback | cb | ) |
Register event queue statistics callbacks.
cb | Callback implementing the LBMMonitorEventQueueStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.addStatisticsCallback | ( | LBMMonitorContextStatisticsCallback | cb | ) |
Register context statistics callbacks.
cb | Callback implementing the LBMMonitorContextStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.addStatisticsCallback | ( | LBMMonitorImmediateMessageSourceStatisticsCallback | cb | ) |
Register immediate message source statistics callbacks.
cb | Callback implementing the LBMMonitorImmediateMessageSourceStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.addStatisticsCallback | ( | LBMMonitorImmediateMessageReceiverStatisticsCallback | cb | ) |
Register immediate message receiver statistics callbacks.
cb | Callback implementing the LBMMonitorImmediateMessageReceiverStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.addStatisticsCallback | ( | LBMMonitorSourceStatisticsCallback | scb, |
LBMMonitorReceiverStatisticsCallback | rcb | ||
) |
Register statistics callbacks.
scb | Callback implementing the LBMMonitorSourceStatisticsCallback delegate interface |
rcb | Callback implementing the LBMMonitorReceiverStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.addStatisticsCallback | ( | LBMMonitorSourceStatisticsCallback | scb, |
LBMMonitorReceiverStatisticsCallback | rcb, | ||
LBMMonitorEventQueueStatisticsCallback | evqcb, | ||
LBMMonitorContextStatisticsCallback | ctxcb | ||
) |
Register statistics callbacks.
scb | Callback implementing the LBMMonitorSourceStatisticsCallback delegate interface |
rcb | Callback implementing the LBMMonitorReceiverStatisticsCallback delegate interface |
evqcb | Callback implementing the LBMMonitorEventQueueStatisticsCallback delegate interface |
ctxcb | Callback implementing the LBMMonitorContextStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.Dispose | ( | ) |
Same as close.
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBMMonitor.errorMessage(), and com.latencybusters.lbm.LBMMonitor.errorNumber().
void com.latencybusters.lbm.LBMMonitorReceiver.removeStatisticsCallback | ( | LBMMonitorSourceStatisticsCallback | cb | ) |
Deregister a previously registered source statistics callback.
cb | Previously registered callback implementing the LBMMonitorSourceStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.removeStatisticsCallback | ( | LBMMonitorReceiverStatisticsCallback | cb | ) |
Deregister a previously registered receiver statistics callback.
cb | Previously registered callback implementing the LBMMonitorReceiverStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.removeStatisticsCallback | ( | LBMMonitorEventQueueStatisticsCallback | cb | ) |
Deregister a previously registered event queue statistics callback.
cb | Previously registered callback implementing the LBMMonitorEventQueueStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.removeStatisticsCallback | ( | LBMMonitorContextStatisticsCallback | cb | ) |
Deregister a previously registered context statistics callback.
cb | Previously registered callback implementing the LBMMonitorContextStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.removeStatisticsCallback | ( | LBMMonitorImmediateMessageSourceStatisticsCallback | cb | ) |
Deregister a previously registered immediate message source statistics callback.
cb | Previously registered callback implementing the LBMMonitorImmediateMessageSourceStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.removeStatisticsCallback | ( | LBMMonitorImmediateMessageReceiverStatisticsCallback | cb | ) |
Deregister a previously registered immediate message receiver statistics callback.
cb | Previously registered callback implementing the LBMMonitorImmediateMessageReceiverStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.removeStatisticsCallback | ( | LBMMonitorSourceStatisticsCallback | scb, |
LBMMonitorReceiverStatisticsCallback | rcb | ||
) |
Deregister previously registered statistics callbacks.
scb | Previously registered callback implementing the LBMMonitorSourceStatisticsCallback delegate interface |
rcb | Previously registered callback implementing the LBMMonitorReceiverStatisticsCallback delegate interface |
void com.latencybusters.lbm.LBMMonitorReceiver.removeStatisticsCallback | ( | LBMMonitorSourceStatisticsCallback | scb, |
LBMMonitorReceiverStatisticsCallback | rcb, | ||
LBMMonitorEventQueueStatisticsCallback | evqcb, | ||
LBMMonitorContextStatisticsCallback | ctxcb | ||
) |
Deregister previously registered statistics callbacks.
scb | Previously registered callback implementing the LBMMonitorSourceStatisticsCallback delegate interface |
rcb | Previously registered callback implementing the LBMMonitorReceiverStatisticsCallback delegate interface |
evqcb | Previously registered callback implementing the LBMMonitorEventQueueStatisticsCallback delegate interface |
ctxcb | Previously registered callback implementing the LBMMonitorContextStatisticsCallback delegate interface |
References com.latencybusters.lbm.LBMMonitor.ATTR_SOURCE_IM, com.latencybusters.lbm.LBMMonitorContextStatisticsCallback(), com.latencybusters.lbm.LBMMonitorEventQueueStatisticsCallback(), com.latencybusters.lbm.LBMMonitorImmediateMessageReceiverStatisticsCallback(), com.latencybusters.lbm.LBMMonitorImmediateMessageSourceStatisticsCallback(), com.latencybusters.lbm.LBMMonitorReceiverStatisticsCallback(), com.latencybusters.lbm.LBMMonitorSourceStatisticsCallback(), com.latencybusters.lbm.LBMObjectRecyclerBase.retrieveContextStatistics(), com.latencybusters.lbm.LBMObjectRecyclerBase.retrieveEventQueueStatistics(), com.latencybusters.lbm.LBMObjectRecyclerBase.retrieveImmediateMessageReceiverStatistics(), com.latencybusters.lbm.LBMObjectRecyclerBase.retrieveImmediateMessageSourceStatistics(), com.latencybusters.lbm.LBMObjectRecyclerBase.retrieveReceiverStatistics(), and com.latencybusters.lbm.LBMObjectRecyclerBase.retrieveSourceStatistics().