mirror of https://github.com/zlatinb/muwire
add dependencies on streaming lib, skeleton of i2p connector
parent
16fc1f42c7
commit
cf6a9b9314
|
@ -1 +1,6 @@
|
|||
mainClassName = 'com.muwire.core.Core'
|
||||
|
||||
dependencies {
|
||||
compile 'net.i2p.client:mstreaming:0.9.35'
|
||||
compile 'net.i2p.client:streaming:0.9.35'
|
||||
}
|
||||
|
|
|
@ -1,9 +1,18 @@
|
|||
package com.muwire.core.connection
|
||||
|
||||
import net.i2p.client.streaming.I2PSocketManager
|
||||
import net.i2p.data.Destination
|
||||
|
||||
class I2PConnector {
|
||||
|
||||
final I2PSocketManager socketManager
|
||||
|
||||
I2PConnector() {}
|
||||
|
||||
I2PConnector(I2PSocketManager socketManager) {
|
||||
this.socketManager = socketManager
|
||||
}
|
||||
|
||||
Endpoint connect(Destination dest) {
|
||||
//TODO implement
|
||||
null
|
||||
|
|
Loading…
Reference in New Issue