Created
December 23, 2011 01:33
-
-
Save singhgurjeet/1512681 to your computer and use it in GitHub Desktop.
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 static FilesClient getDefaultClient() { | |
return new FilesClient(new AppClient.Credentials() { | |
@Override public long getUserId() throws IOException {return 123L;} | |
@Override public byte[] getKey() throws IOException {throw new IOException("NOT IMPLEMENTED");} | |
}, | |
System.getProperty(Broker.PUBLIC_HOST_PROPERTY, Broker.DEFAULT_PUBLIC_HOST), | |
DagUtil.getIntProperty(Broker.PUBLIC_PORT_PROPERTY, Broker.DEFAULT_PUBLIC_PORT)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment