/** * Replaces the route entry extension object and timeout, and leaves other fields intact via * {@link #rtconfigPort}. * * @param entryExtension_ The extension defined in {@link drcl.inet.data.RTEntry}. * @see drcl.inet.contract.RTConfig */ protected void replaceRTEntry(RTKey key_, Object entryExtension_, double timeout_) { RTConfig.add( key_, new RTEntry(RTConfig.NEXT_HOP_NO_CHANGE, RTConfig.OUT_IFS_NO_CHANGE, entryExtension_), timeout_, rtconfigPort); }
/** * Adds/replaces a route entry via {@link #rtconfigPort}. * * @param entryExtension_ The extension defined in {@link drcl.inet.data.RTEntry}. * @see drcl.inet.contract.RTConfig */ protected void addRTEntry(RTKey key_, int[] interfaces, Object entryExtension_, double timeout) { RTConfig.add( key_, new RTEntry(RTConfig.NEXT_HOP_NO_CHANGE, new drcl.data.BitSet(interfaces), entryExtension_), timeout, rtconfigPort); }
/** * Adds/replaces a route entry via {@link #rtconfigPort}. * * @param entryExtension_ The extension defined in {@link drcl.inet.data.RTEntry}. * @see drcl.inet.contract.RTConfig */ public void addRTEntry( RTKey key_, long nexthop_, drcl.data.BitSet interfaces, Object entryExtension_, double timeout) { RTConfig.add(key_, new RTEntry(nexthop_, interfaces, entryExtension_), timeout, rtconfigPort); }
/** * Adds/replaces a route entry via {@link #rtconfigPort}. * * @see drcl.inet.contract.RTConfig */ protected void addRTEntry(RTEntry entry_, double timeout) { RTConfig.add(entry_.getKey(), entry_, timeout, rtconfigPort); }