We are creating one BoxDeveloperEditionAPIConnection in main thread like :
BoxDeveloperEditionAPIConnection api = new BoxDeveloperEditionAPIConnection(...);
Then we create multiple daemon threads and in each thread we create :
BoxTransactionalAPIConnection = new BoxTransactionalAPIConnection(api.getAccessToken());
So now we have one BoxDeveloperEditionAPIConnection and multiple BoxTransactionalAPIConnection ' s
The question is how to close these connections? We couldn't find any method for closing the connection.
Should we call revokeToken on each connection instead ?
Would appreciate any help or suggestion in this. Thanks.
Please sign in to leave a comment.