I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 01753f5a authored by zzz's avatar zzz
Browse files

* Ministreaming: Cleanups, deprecation, move demos out of the lib

parent bcd22cfb
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ import net.i2p.util.Log;
* and pull from a queue populated by various threads (each of whom have their own
* timeout)
*
* @deprecated use I2PServerSocketFull
*/
class I2PServerSocketImpl implements I2PServerSocket {
private final static Log _log = new Log(I2PServerSocketImpl.class);
......
......@@ -17,6 +17,7 @@ import net.i2p.util.Log;
/**
* Initial stub implementation for the socket
*
* @deprecated use I2PSocketFull
*/
class I2PSocketImpl implements I2PSocket {
private final static Log _log = new Log(I2PSocketImpl.class);
......
......@@ -158,12 +158,12 @@ public class I2PSocketManagerFactory {
}
private static I2PSocketManager createManager(I2PSession session, Properties opts, String name) {
if (false) {
I2PSocketManagerImpl mgr = new I2PSocketManagerImpl();
mgr.setSession(session);
//if (false) {
//I2PSocketManagerImpl mgr = new I2PSocketManagerImpl();
//mgr.setSession(session);
//mgr.setDefaultOptions(new I2PSocketOptions());
return mgr;
} else {
//return mgr;
//} else {
String classname = opts.getProperty(PROP_MANAGER, DEFAULT_MANAGER);
if (classname != null) {
try {
......@@ -190,7 +190,7 @@ public class I2PSocketManagerFactory {
} else {
throw new IllegalStateException("No manager class specified");
}
}
//}
}
......
......@@ -36,6 +36,7 @@ import net.i2p.util.Log;
* I2PSocketManager, it should not attempt to call I2PSession's setSessionListener
* or receive any messages with its .receiveMessage
*
* @deprecated use I2PSocketManagerFull
*/
class I2PSocketManagerImpl implements I2PSocketManager, I2PSessionListener {
private I2PAppContext _context;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment