[tor-commits] [metrics-lib/master] Start defining the bridge status interface.
karsten at torproject.org
karsten at torproject.org
Sun Jan 8 20:12:48 UTC 2012
commit 5114da288f7f1ce82efadd68d562236cf5116138
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Sun Jan 8 21:11:39 2012 +0100
Start defining the bridge status interface.
---
.../torproject/descriptor/BridgeNetworkStatus.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/org/torproject/descriptor/BridgeNetworkStatus.java b/src/org/torproject/descriptor/BridgeNetworkStatus.java
index d3ed347..31dfd47 100644
--- a/src/org/torproject/descriptor/BridgeNetworkStatus.java
+++ b/src/org/torproject/descriptor/BridgeNetworkStatus.java
@@ -2,6 +2,14 @@
* See LICENSE for licensing information */
package org.torproject.descriptor;
+import java.util.SortedMap;
+
public interface BridgeNetworkStatus extends Descriptor {
+
+ /* Return the published time in milliseconds. */
+ public long getPublishedMillis();
+
+ /* Return status entries, one for each contained bridge. */
+ public SortedMap<String, NetworkStatusEntry> getStatusEntries();
}
More information about the tor-commits
mailing list