public class IntegerCallbackIdentifier extends java.lang.Object implements Callback
Constructor and Description |
---|
IntegerCallbackIdentifier(IntegerCallback cb,
int id)
Constructs the IntegerCallbackIdentifier with the
IntegerCallback to notify, and the id with which to give.
|
Modifier and Type | Method and Description |
---|---|
void |
callback()
This method is called when the receiver of this Object notifies
it.
|
public IntegerCallbackIdentifier(IntegerCallback cb, int id)
IntegerCallback
- Notified when this Object
is notified.id
- ID to notify with.