@ThreadSafe public class AisBusComponentStatus extends Object
TODO: Flow history
| Modifier and Type | Class and Description |
|---|---|
static class |
AisBusComponentStatus.State
The enum State.
|
| Constructor and Description |
|---|
AisBusComponentStatus()
Instantiates a new Ais bus component status.
|
AisBusComponentStatus(long flowStatInterval)
Instantiates a new Ais bus component status.
|
| Modifier and Type | Method and Description |
|---|---|
void |
filtered()
Indicate a reception that is rejected by filter
|
long |
getFilteredCount()
Gets filtered count.
|
double |
getFilteredRate()
Gets filtered rate.
|
long |
getFlowStatInterval()
Gets flow stat interval.
|
long |
getInCount()
Gets in count.
|
double |
getInRate()
Gets in rate.
|
long |
getOverflowCount()
Gets overflow count.
|
double |
getOverflowRate()
Gets overflow rate.
|
long |
getStartTime()
Gets start time.
|
AisBusComponentStatus.State |
getState()
Gets state.
|
boolean |
isConnected()
Is connected boolean.
|
boolean |
isStarted()
Is started boolean.
|
void |
overflow()
Indicate overflow when delivering packet
|
void |
receive()
Indicate a reception that is not filtered away
|
void |
setConnected()
Sets connected.
|
void |
setInitialized()
Sets initialized.
|
void |
setNotConnected()
Sets not connected.
|
void |
setStarted()
Sets started.
|
void |
setStopped()
Sets stopped.
|
String |
toString() |
public AisBusComponentStatus()
public AisBusComponentStatus(long flowStatInterval)
flowStatInterval - the flow stat intervalpublic void receive()
public void filtered()
public void overflow()
public AisBusComponentStatus.State getState()
public void setInitialized()
public void setStarted()
public boolean isStarted()
public void setConnected()
public boolean isConnected()
public void setNotConnected()
public void setStopped()
public long getStartTime()
public long getFlowStatInterval()
public long getInCount()
public double getInRate()
public long getFilteredCount()
public double getFilteredRate()
public long getOverflowCount()
public double getOverflowRate()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.