示例#1
0
 /**
  * Removes all route entries associated with a multicast group via {@link #rtconfigPort}.
  *
  * @param destination the multicast group address.
  * @see drcl.inet.contract.RTConfig
  */
 public Object removeRTEntry(long destination) {
   return RTConfig.remove(
       new RTKey(-1, 0, destination, -1, -1, 0), RTConfig.MATCH_WILDCARD, rtconfigPort);
 }
示例#2
0
 /**
  * Retrieves all the route entries via {@link #rtconfigPort}.
  *
  * @see drcl.inet.contract.RTConfig
  */
 public RTEntry[] removeAllRTEntries() {
   Object result_ =
       RTConfig.remove(new RTKey(0, 0, 0, 0, 0, 0), RTConfig.MATCH_WILDCARD, rtconfigPort);
   if (result_ instanceof RTEntry) return new RTEntry[] {(RTEntry) result_};
   else return (RTEntry[]) result_;
 }
示例#3
0
 /**
  * Removes a route entry via {@link #rtconfigPort}.
  *
  * @param type see {@link drcl.inet.contract.RTConfig}.
  */
 public Object removeRTEntry(RTKey key_, String type) {
   return RTConfig.remove(key_, type, rtconfigPort);
 }