Changeset 343:7f06d669913d for kraken-linux-api/src/main/java/org/krakenapps/linux/api/msgbus/RoutingTablePlugin.java
- Timestamp:
- 09/18/11 13:55:15 (8 months ago)
- Branch:
- default
- Convert:
- svn:7c3792e6-d75b-4784-96a6-b298f655ee64/trunk@2777
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kraken-linux-api/src/main/java/org/krakenapps/linux/api/msgbus/RoutingTablePlugin.java
r156 r343 1 1 package org.krakenapps.linux.api.msgbus; 2 2 3 import java.io.IOException; 3 4 import java.net.InetAddress; 4 5 import java.net.UnknownHostException; … … 23 24 24 25 @MsgbusMethod 25 public void getRoutingTable(Request req, Response resp) {26 public void getRoutingTable(Request req, Response resp) throws IOException { 26 27 resp.put("routing_table", Marshaler.marshal(RoutingTable.getRoutingEntries())); 27 28 } 28 29 29 30 @MsgbusMethod 30 public void getRoutingTableV6(Request req, Response resp) {31 public void getRoutingTableV6(Request req, Response resp) throws IOException { 31 32 resp.put("routing_table", Marshaler.marshal(RoutingTable.getIpv6RoutingEntries())); 32 33 }
Note: See TracChangeset
for help on using the changeset viewer.
