|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.latencybusters.lbm.LBMMonitorReceiver
public class LBMMonitorReceiver
LBMMonitorReceiver class.
Constructor Summary | |
---|---|
LBMMonitorReceiver(int formatter,
java.lang.String formatOpts,
int transport,
java.lang.String transportOpts)
Create an LBM Monitoring Receiver Controller. |
|
LBMMonitorReceiver(int formatter,
java.lang.String formatOpts,
int transport,
java.lang.String transportOpts,
LBMObjectRecyclerBase recycler,
java.lang.Object objRecCbArg)
Create an LBM Monitoring Receiver Controller. |
Method Summary | |
---|---|
void |
addStatisticsCallback(LBMMonitorStatisticsCallback cb)
Deprecated. This method is provided for backwards compatibility with LBM 3.3.9/ UME 2.0.7; please use the addStatisticsCallback(LBMMonitorStatisticsCallbackObject) method instead. |
void |
addStatisticsCallback(LBMMonitorStatisticsCallbackObject cb)
Register statistics callbacks. |
void |
close()
Destroy a statistics receive controller. |
protected void |
finalize()
|
void |
removeStatisticsCallback(LBMMonitorStatisticsCallback cb)
Deprecated. This method is provided for backwards compatibility with LBM 3.3.9/ UME 2.0.7; please use the removeStatisticsCallback(LBMMonitorStatisticsCallbackObject) method instead. |
void |
removeStatisticsCallback(LBMMonitorStatisticsCallbackObject cb)
Deregister previously registered statistics callback. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LBMMonitorReceiver(int formatter, java.lang.String formatOpts, int transport, java.lang.String transportOpts) throws LBMException
formatter
- Format module typeformatOpts
- 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 typetransportOpts
- 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.
LBMException
- if any error occurs creating the monitor receiver.close()
public LBMMonitorReceiver(int formatter, java.lang.String formatOpts, int transport, java.lang.String transportOpts, LBMObjectRecyclerBase recycler, java.lang.Object objRecCbArg) throws LBMException
formatter
- Format module typeformatOpts
- 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 typetransportOpts
- 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)
LBMException
- if any error occurs creating the monitor receiver.close()
Method Detail |
---|
protected void finalize() throws LBMException
finalize
in class java.lang.Object
LBMException
public void close() throws LBMException
LBMException
- if any error occurs destroying the monitor receiver.public void addStatisticsCallback(LBMMonitorStatisticsCallback cb)
addStatisticsCallback(LBMMonitorStatisticsCallbackObject)
method instead.
cb
- Object implementing the LBMMonitorStatisticsCallback
interfacepublic void removeStatisticsCallback(LBMMonitorStatisticsCallback cb)
removeStatisticsCallback(LBMMonitorStatisticsCallbackObject)
method instead.
cb
- Previously registered object implementing the
LBMMonitorStatisticsCallback interfacepublic void addStatisticsCallback(LBMMonitorStatisticsCallbackObject cb)
cb
- Object extending the LBMMonitorStatisticsCallbackObject class.public void removeStatisticsCallback(LBMMonitorStatisticsCallbackObject cb)
cb
- Previously registered object extending the
LBMMonitorStatisticsCallbackObject class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |