Constructor and Description |
---|
NeighborAdvertiseData(boolean isSenderRouter,
boolean isSolicitResponse,
boolean override,
IpAddress targetAddr)
Create a new Neighbor Solicitation data store.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSenderRouter()
Returns true if the sender is a router.
|
boolean |
isSolicitResponse()
Returns true if this is a response to a solicitation.
|
boolean |
override()
Returns true if this should override the existing cached address.
|
IpAddress |
targetAddr()
Returns the target address.
|
String |
toString() |
public NeighborAdvertiseData(boolean isSenderRouter, boolean isSolicitResponse, boolean override, IpAddress targetAddr)
isSenderRouter
- true if the sender is a routerisSolicitResponse
- true if this is a solicitation responseoverride
- true if this should override cached addresstargetAddr
- target addresspublic boolean isSenderRouter()
public boolean isSolicitResponse()
public boolean override()
public IpAddress targetAddr()
Copyright © 2016. All Rights Reserved.