Created
February 18, 2018 06:07
-
-
Save ogrebgr/bccb1526dfadee46f8b992deebfc719e to your computer and use it in GitHub Desktop.
Safenetwork java bindings test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Test { | |
public static void main(String[] args) { | |
Session.load(); | |
AppExchangeInfo aei = new AppExchangeInfo("net.maidsafe.java.test", | |
null, | |
"presni", | |
"ACME inc."); | |
AuthReq authReq = new AuthReq(aei, true, null, 0, 0); | |
try { | |
Request req = BaseSession.getAuthRequest(authReq).get(); | |
} catch (InterruptedException e) { | |
e.printStackTrace(); | |
} catch (ExecutionException e) { | |
e.printStackTrace(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment