return result;
}
public static Map<PeerFeatures, Integer> scanTagListPeerFeatures(TagList tagList) {
Map<PeerFeatures,Integer> result = new Hashtable<PeerFeatures,Integer>();
Tag tag;
tag = tagList.getTag(ET_COMPRESSION);
if (tag != null)
result.put(DataCompressionVer, (Integer)tag.getValue());
tag = tagList.getTag(ET_UDPVER);
if (tag != null)
result.put(UDPVer, (Integer)tag.getValue());
tag = tagList.getTag(ET_SOURCEEXCHANGE);
if (tag != null)
result.put(SourceExchange1Ver, (Integer)tag.getValue());
tag = tagList.getTag(ET_COMMENTS);
if (tag != null)
result.put(AcceptCommentVer, (Integer)tag.getValue());
tag = tagList.getTag(ET_EXTENDEDREQUEST);
if (tag != null)
result.put(ExtendedRequestsVer, (Integer)tag.getValue());
tag = tagList.getTag(ET_FEATURES);
if (tag != null)
result.put(SupportPreview, (Integer)tag.getValue());
return result;
}