summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2014-08-04 16:59:28 +0000
committerFlorian Dold <florian.dold@gmail.com>2014-08-04 16:59:28 +0000
commit75cdec0268bc255bb3e22b0e0b65965ac7964874 (patch)
treead97e99bccab4178159b46de5d4f5876c30a9ed0
parent856f6e911be259ce2dd5c224c7cc45ab78a0720b (diff)
make tryConnect public
-rw-r--r--ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jarbin509810 -> 509810 bytes
-rw-r--r--ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar.sha12
-rw-r--r--ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml2
-rw-r--r--ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml.sha12
-rw-r--r--src/main/java/org/gnunet/transport/Transport.java6
5 files changed, 6 insertions, 6 deletions
diff --git a/ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar b/ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar
index 0b4f649..2ee05f5 100644
--- a/ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar
+++ b/ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar
Binary files differ
diff --git a/ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar.sha1 b/ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar.sha1
index 629c6fc..705525b 100644
--- a/ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar.sha1
+++ b/ivy-repo/org.gnunet/gnunet-java/svn/gnunet-java-svn.jar.sha1
@@ -1 +1 @@
-ae2661087d342fbc28d0be8895180bf4622fbc88 \ No newline at end of file
+5a2d583a43e0a2c37658cc859692bd372ae4ec7d \ No newline at end of file
diff --git a/ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml b/ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml
index 368046c..b305d48 100644
--- a/ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml
+++ b/ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0">
- <info organisation="org.gnunet" module="gnunet-java" revision="svn" status="integration" publication="20140731145810"/>
+ <info organisation="org.gnunet" module="gnunet-java" revision="svn" status="integration" publication="20140804185816"/>
<configurations>
<conf name="default" visibility="public" extends="runtime"/>
<conf name="runtime" visibility="public"/>
diff --git a/ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml.sha1 b/ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml.sha1
index 56264f7..db66644 100644
--- a/ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml.sha1
+++ b/ivy-repo/org.gnunet/gnunet-java/svn/ivy-svn.xml.sha1
@@ -1 +1 @@
-48d71efb09abfe6f1e10dd29ea21bd1ed8a2e768 \ No newline at end of file
+4e15d2dd0fa71876b8db242b9fb05d83bee471f3 \ No newline at end of file
diff --git a/src/main/java/org/gnunet/transport/Transport.java b/src/main/java/org/gnunet/transport/Transport.java
index 69c19f5..40d654d 100644
--- a/src/main/java/org/gnunet/transport/Transport.java
+++ b/src/main/java/org/gnunet/transport/Transport.java
@@ -89,7 +89,7 @@ public class Transport {
* service
* @return a handle to onCancel the operation
*/
- Cancelable tryConnect(PeerIdentity target, final TryConnectCallback cb) {
+ public Cancelable tryConnect(PeerIdentity target, final TryConnectCallback cb) {
RequestConnectMessage m = new RequestConnectMessage();
m.peer = target;
m.reserved = 0;
@@ -117,7 +117,7 @@ public class Transport {
* @param rec function to call with the HELLO
* @return handle to onCancel the operation
*/
- Cancelable getHello(final HelloUpdateCallback rec) {
+ public Cancelable getHello(final HelloUpdateCallback rec) {
if (myHello != null) {
return Scheduler.add(new Scheduler.Task() {
@Override
@@ -149,7 +149,7 @@ public class Transport {
* in case of failure cont will not be called
*/
- Cancelable offerHello(HelloMessage hello,
+ public Cancelable offerHello(HelloMessage hello,
final OfferHelloContinuation cont) {
final Envelope ev = new Envelope(hello);
ev.notifySent(new NotifySentHandler() {