com.aelitis.azureus.core.subs.impl
Class SubscriptionResultImpl
java.lang.Object
com.aelitis.azureus.core.subs.impl.SubscriptionResultImpl
- All Implemented Interfaces:
- SubscriptionResult, UtilitiesImpl.PluginSubscriptionResult
public class SubscriptionResultImpl
- extends Object
- implements SubscriptionResult
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionResultImpl
protected SubscriptionResultImpl(SubscriptionHistoryImpl _history,
Result result)
SubscriptionResultImpl
protected SubscriptionResultImpl(SubscriptionHistoryImpl _history,
Map map)
updateFrom
protected boolean updateFrom(SubscriptionResultImpl other)
getID
public String getID()
- Specified by:
getID
in interface SubscriptionResult
getKey1
protected byte[] getKey1()
getKey2
protected byte[] getKey2()
getRead
public boolean getRead()
- Specified by:
getRead
in interface SubscriptionResult
- Specified by:
getRead
in interface UtilitiesImpl.PluginSubscriptionResult
setRead
public void setRead(boolean _read)
- Specified by:
setRead
in interface SubscriptionResult
- Specified by:
setRead
in interface UtilitiesImpl.PluginSubscriptionResult
setReadInternal
protected void setReadInternal(boolean _read)
delete
public void delete()
- Specified by:
delete
in interface SubscriptionResult
deleteInternal
protected void deleteInternal()
isDeleted
public boolean isDeleted()
- Specified by:
isDeleted
in interface SubscriptionResult
toBEncodedMap
protected Map toBEncodedMap()
toJSONMap
public Map toJSONMap()
- Specified by:
toJSONMap
in interface SubscriptionResult
getDownloadLink
public String getDownloadLink()
- Specified by:
getDownloadLink
in interface SubscriptionResult
getPlayLink
public String getPlayLink()
- Specified by:
getPlayLink
in interface SubscriptionResult
getAssetHash
public String getAssetHash()
getTimeFound
public long getTimeFound()
- Specified by:
getTimeFound
in interface SubscriptionResult
toPropertyMap
public Map<Integer,Object> toPropertyMap()
- Description copied from interface:
SubscriptionResult
- See SearchResult properties for list
- Specified by:
toPropertyMap
in interface SubscriptionResult
- Specified by:
toPropertyMap
in interface UtilitiesImpl.PluginSubscriptionResult