mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Refactoring: moved high-level connection classes to protocol package.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package net.sf.briar.protocol.stream;
|
||||
|
||||
import net.sf.briar.api.protocol.stream.StreamConnectionFactory;
|
||||
|
||||
import com.google.inject.AbstractModule;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
public class ProtocolStreamModule extends AbstractModule {
|
||||
|
||||
@Override
|
||||
protected void configure() {
|
||||
bind(StreamConnectionFactory.class).to(
|
||||
StreamConnectionFactoryImpl.class).in(Singleton.class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user