/** * To ia prefix. * * @param lease the lease * @return the ia prefix */ protected IaPrefix ToIaPrefix(DhcpLease lease) { IaPrefix iaPrefix = new IaPrefix(); iaPrefix.SetIpAddress(lease.GetIpAddress()); iaPrefix.SetPrefixLength(lease.GetPrefixLength()); iaPrefix.SetState(lease.GetState()); iaPrefix.SetStartTime(lease.GetStartTime()); iaPrefix.SetPreferredEndTime(lease.GetPreferredEndTime()); iaPrefix.SetValidEndTime(lease.GetValidEndTime()); iaPrefix.SetDhcpOptions(lease.GetIaAddrDhcpOptions()); return(iaPrefix); }
/* (non-Javadoc) * @see com.jagornet.dhcpv6.db.IaManager#deleteIaPrefix(com.jagornet.dhcpv6.db.IaPrefix) */ public void DeleteIaPrefix(IaPrefix iaPrefix) { DeleteIaAddr(iaPrefix); }
public void DeleteIaPrefix(IaPrefix iaPrefix) { }
/* (non-Javadoc) * @see com.jagornet.dhcpv6.db.IaManager#updateIaPrefix(com.jagornet.dhcpv6.db.IaPrefix) */ public void UpdateIaPrefix(IaPrefix iaPrefix) { UpdateIaAddr(iaPrefix); }
public void UpdateIaPrefix(IaPrefix iaPrefix) { }