Package org.cometd.oort
Class OortMasterLong.Callback.Adapter
- java.lang.Object
-
- org.cometd.oort.OortMasterLong.Callback.Adapter
-
- All Implemented Interfaces:
OortMasterLong.Callback
- Enclosing interface:
- OortMasterLong.Callback
public static class OortMasterLong.Callback.Adapter extends java.lang.Object implements OortMasterLong.Callback
Empty implementation ofOortMasterLong.Callback
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.cometd.oort.OortMasterLong.Callback
OortMasterLong.Callback.Adapter
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfailed(java.lang.Object failure)Callback method invoked when the operation on the counter failed.voidsucceeded(java.lang.Long result)Callback method invoked when the operation on the counter succeeded.
-
-
-
Method Detail
-
succeeded
public void succeeded(java.lang.Long result)
Description copied from interface:OortMasterLong.CallbackCallback method invoked when the operation on the counter succeeded.- Specified by:
succeededin interfaceOortMasterLong.Callback- Parameters:
result- the result of the operation
-
failed
public void failed(java.lang.Object failure)
Description copied from interface:OortMasterLong.CallbackCallback method invoked when the operation on the counter failed.- Specified by:
failedin interfaceOortMasterLong.Callback- Parameters:
failure- the failure object
-
-