public abstract class PollEvent extends Object
Abstract PollEvent class.
| Modifier | Constructor and Description |
|---|---|
protected |
PollEvent(Scope scope)
Constructor for PollEvent.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Date |
getDate()
getDate
|
abstract int |
getEventId()
getEventId
|
Scope |
getScope()
getScope
|
boolean |
hasLargerScopeThan(PollEvent e)
hasLargerScopeThan
|
boolean |
hasSameScope(PollEvent e)
hasSameScope
|
boolean |
hasScopeLargerThan(Scope scope)
hasScopeLargerThan
|
boolean |
hasScopeSmallerThan(Scope scope)
hasScopeSmallerThan
|
boolean |
hasSmallerScopeThan(PollEvent e)
hasSmallerScopeThan
|
boolean |
isInterfaceDown()
isInterfaceDown
|
boolean |
isNodeDown()
isNodeDown
|
boolean |
isNodeLostService()
isNodeLostService
|
static PollEvent |
withLargestScope(PollEvent a,
PollEvent b)
withLargestScope
|
public abstract int getEventId()
getEventId
public boolean isNodeDown()
isNodeDown
public boolean isInterfaceDown()
isInterfaceDown
public boolean isNodeLostService()
isNodeLostService
public boolean hasLargerScopeThan(PollEvent e)
hasLargerScopeThan
e - a PollEvent object.public boolean hasSmallerScopeThan(PollEvent e)
hasSmallerScopeThan
e - a PollEvent object.public boolean hasScopeLargerThan(Scope scope)
hasScopeLargerThan
scope - a Scope object.public boolean hasScopeSmallerThan(Scope scope)
hasScopeSmallerThan
scope - a Scope object.public boolean hasSameScope(PollEvent e)
hasSameScope
e - a PollEvent object.Copyright © 2022. All rights reserved.