com.aelitis.net.magneturi
Class MagnetURIHandler
java.lang.Object
com.aelitis.net.magneturi.MagnetURIHandler
- Direct Known Subclasses:
- MagnetURIHandlerImpl
public abstract class MagnetURIHandler
- extends Object
- Author:
- parg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MagnetURIHandler
public MagnetURIHandler()
getSingleton
public static MagnetURIHandler getSingleton()
getPort
public abstract int getPort()
process
public abstract void process(String get,
InputStream is,
OutputStream os)
throws IOException
- Throws:
IOException
addListener
public abstract void addListener(MagnetURIHandlerListener l)
removeListener
public abstract void removeListener(MagnetURIHandlerListener l)
addInfo
public abstract void addInfo(String name,
int info)
registerResource
public abstract URL registerResource(MagnetURIHandler.ResourceProvider provider)