public class IntervalBehavior<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IntervalBehavior.StepResultListener<E,F> |
Constructor and Description |
---|
IntervalBehavior(IInternalAccess component,
long delay,
IComponentStep<T> step,
boolean realtime)
Create a new lease time handling object.
|
Modifier and Type | Method and Description |
---|---|
long |
getDelay()
Get the delay.
|
String |
getId()
Get the id.
|
IComponentStep<T> |
getStep()
Get the step.
|
void |
setDelay(long delay)
Set the delay.
|
void |
setId(String sendid)
Set the id.
|
void |
setStep(IComponentStep<T> step)
Set the step.
|
IFuture<Void> |
startBehavior()
Start sending awareness infos.
|
IFuture<Void> |
stopBehavior()
(Ends automatically when a new send behaviour is started).
|
public IntervalBehavior(IInternalAccess component, long delay, IComponentStep<T> step, boolean realtime)
public IFuture<Void> startBehavior()
public IFuture<Void> stopBehavior()
public String getId()
public void setId(String sendid)
id
- The id to set.public IComponentStep<T> getStep()
public void setStep(IComponentStep<T> step)
step
- The step to set.public long getDelay()
public void setDelay(long delay)
delay
- The delay to set.Copyright © 2013. All Rights Reserved.