com.aelitis.net.magneturi
Class MagnetURIHandler
java.lang.Object
com.aelitis.net.magneturi.MagnetURIHandler
- Direct Known Subclasses:
- MagnetURIHandlerImpl
public abstract class MagnetURIHandler
- extends java.lang.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(java.lang.String get,
java.io.InputStream is,
java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
addListener
public abstract void addListener(MagnetURIHandlerListener l)
removeListener
public abstract void removeListener(MagnetURIHandlerListener l)
addInfo
public abstract void addInfo(java.lang.String name,
int info)
registerResource
public abstract java.net.URL registerResource(MagnetURIHandler.ResourceProvider provider)