C# 클래스 Smrf.NodeXL.GraphDataProviders.Twitter.TwitterNetworkAnalyzerBase

Base class for classes that analyze a Twitter network.
The derived class must call BeforeGetNetwork() before getting each network.
상속: HttpNetworkAnalyzerBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
HttpStatusCodesToFailImmediately HttpStatusCode[]
m_oTwitterStatusTextParser Smrf.SocialNetworkLib.Twitter.TwitterStatusTextParser
m_oTwitterUtil Smrf.SocialNetworkLib.Twitter.TwitterUtil

공개 메소드들

메소드 설명
AssertValid ( ) : void
ExceptionToMessage ( Exception oException ) : String
TwitterNetworkAnalyzerBase ( ) : System

Initializes a new instance of the class.

보호된 메소드들

메소드 설명
AppendFollowedOrFollowingEdgeXmlNode ( String sScreenName, String sOtherScreenName, System.Boolean bFollowed, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics ) : void
AppendFollowedOrFollowingEdgeXmlNodes ( TwitterUser>.Dictionary oUserIDDictionary, System.Boolean bFollowed, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics ) : void
AppendFollowedOrFollowingEdgeXmlNodes ( ICollection oScreenNames, TwitterUser>.Dictionary oUserIDDictionary, System.Boolean bFollowed, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics ) : void
AppendLatestStatusInformationFromValueDictionary ( Object>.Dictionary oStatusValueDictionary, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser oTwitterUser, System.Boolean bIncludeLatestStatus, System.Boolean bExpandLatestStatusUrls ) : void
AppendRepliesToAndMentionsEdgeXmlNodes ( GraphMLXmlDocument oGraphMLXmlDocument, IEnumerable oTwitterUsers, HashSet oUniqueScreenNames, System.Boolean bIncludeRepliesToEdges, System.Boolean bIncludeMentionsEdges, System.Boolean bIncludeNonRepliesToNonMentionsEdges, System.Boolean bIncludeStatuses ) : void
AppendStartTimeRelationshipDateUtcGraphMLAttributeValue ( GraphMLXmlDocument oGraphMLXmlDocument, XmlNode oEdgeXmlNode, RequestStatistics oRequestStatistics ) : void
AppendUserInformationFromValueDictionary ( Object>.Dictionary oUserValueDictionary, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser oTwitterUser, System.Boolean bIncludeStatistics, System.Boolean bIncludeLatestStatus, System.Boolean bExpandLatestStatusUrls ) : void
BeforeGetNetwork ( ) : void
EnumerateFriendOrFollowerIDs ( String sScreenName, System.Boolean bFollowed, Int32 iMaximumPeoplePerRequest, RequestStatistics oRequestStatistics ) : IEnumerable
EnumerateJsonValues ( String sUrl, String sJsonName, Int32 iMaximumValues, System.Boolean bSkipMostPage1Errors, RequestStatistics oRequestStatistics ) : IEnumerable
EnumerateUserValueDictionaries ( String asUserIDsOrScreenNames, System.Boolean bUserIDsSpecified, RequestStatistics oRequestStatistics ) : Object>>.IEnumerable
GetTwitterResponseAsString ( String sUrl, RequestStatistics oRequestStatistics ) : String
ReportProgressForFollowedOrFollowing ( String sScreenName, System.Boolean bFollowed ) : void
TryGetScreenNameFromDictionary ( Object>.Dictionary oUserValueDictionary, String &sScreenName ) : System.Boolean
TryGetUserIDFromDictionary ( Object>.Dictionary oUserValueDictionary, String &sUserID ) : System.Boolean
TryGetUserValueDictionary ( String sScreenName, RequestStatistics oRequestStatistics, System.Boolean bIgnoreWebAndJsonExceptions, Object>.Dictionary &oUserValueDictionary ) : System.Boolean

메소드 상세

AppendFollowedOrFollowingEdgeXmlNode() 보호된 메소드

protected AppendFollowedOrFollowingEdgeXmlNode ( String sScreenName, String sOtherScreenName, System.Boolean bFollowed, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics ) : void
sScreenName String
sOtherScreenName String
bFollowed System.Boolean
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 void

AppendFollowedOrFollowingEdgeXmlNodes() 보호된 메소드

protected AppendFollowedOrFollowingEdgeXmlNodes ( TwitterUser>.Dictionary oUserIDDictionary, System.Boolean bFollowed, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics ) : void
oUserIDDictionary TwitterUser>.Dictionary
bFollowed System.Boolean
iMaximumPeoplePerRequest System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 void

AppendFollowedOrFollowingEdgeXmlNodes() 보호된 메소드

protected AppendFollowedOrFollowingEdgeXmlNodes ( ICollection oScreenNames, TwitterUser>.Dictionary oUserIDDictionary, System.Boolean bFollowed, Int32 iMaximumPeoplePerRequest, GraphMLXmlDocument oGraphMLXmlDocument, RequestStatistics oRequestStatistics ) : void
oScreenNames ICollection
oUserIDDictionary TwitterUser>.Dictionary
bFollowed System.Boolean
iMaximumPeoplePerRequest System.Int32
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 void

AppendLatestStatusInformationFromValueDictionary() 보호된 메소드

protected AppendLatestStatusInformationFromValueDictionary ( Object>.Dictionary oStatusValueDictionary, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser oTwitterUser, System.Boolean bIncludeLatestStatus, System.Boolean bExpandLatestStatusUrls ) : void
oStatusValueDictionary Object>.Dictionary
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oTwitterUser Smrf.NodeXL.GraphMLLib.TwitterUser
bIncludeLatestStatus System.Boolean
bExpandLatestStatusUrls System.Boolean
리턴 void

AppendRepliesToAndMentionsEdgeXmlNodes() 보호된 메소드

protected AppendRepliesToAndMentionsEdgeXmlNodes ( GraphMLXmlDocument oGraphMLXmlDocument, IEnumerable oTwitterUsers, HashSet oUniqueScreenNames, System.Boolean bIncludeRepliesToEdges, System.Boolean bIncludeMentionsEdges, System.Boolean bIncludeNonRepliesToNonMentionsEdges, System.Boolean bIncludeStatuses ) : void
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oTwitterUsers IEnumerable
oUniqueScreenNames HashSet
bIncludeRepliesToEdges System.Boolean
bIncludeMentionsEdges System.Boolean
bIncludeNonRepliesToNonMentionsEdges System.Boolean
bIncludeStatuses System.Boolean
리턴 void

AppendStartTimeRelationshipDateUtcGraphMLAttributeValue() 보호된 메소드

protected AppendStartTimeRelationshipDateUtcGraphMLAttributeValue ( GraphMLXmlDocument oGraphMLXmlDocument, XmlNode oEdgeXmlNode, RequestStatistics oRequestStatistics ) : void
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oEdgeXmlNode System.Xml.XmlNode
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 void

AppendUserInformationFromValueDictionary() 보호된 메소드

protected AppendUserInformationFromValueDictionary ( Object>.Dictionary oUserValueDictionary, GraphMLXmlDocument oGraphMLXmlDocument, TwitterUser oTwitterUser, System.Boolean bIncludeStatistics, System.Boolean bIncludeLatestStatus, System.Boolean bExpandLatestStatusUrls ) : void
oUserValueDictionary Object>.Dictionary
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oTwitterUser Smrf.NodeXL.GraphMLLib.TwitterUser
bIncludeStatistics System.Boolean
bIncludeLatestStatus System.Boolean
bExpandLatestStatusUrls System.Boolean
리턴 void

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

BeforeGetNetwork() 보호된 메소드

protected BeforeGetNetwork ( ) : void
리턴 void

EnumerateFriendOrFollowerIDs() 보호된 메소드

protected EnumerateFriendOrFollowerIDs ( String sScreenName, System.Boolean bFollowed, Int32 iMaximumPeoplePerRequest, RequestStatistics oRequestStatistics ) : IEnumerable
sScreenName String
bFollowed System.Boolean
iMaximumPeoplePerRequest System.Int32
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 IEnumerable

EnumerateJsonValues() 보호된 메소드

protected EnumerateJsonValues ( String sUrl, String sJsonName, Int32 iMaximumValues, System.Boolean bSkipMostPage1Errors, RequestStatistics oRequestStatistics ) : IEnumerable
sUrl String
sJsonName String
iMaximumValues System.Int32
bSkipMostPage1Errors System.Boolean
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 IEnumerable

EnumerateUserValueDictionaries() 보호된 메소드

protected EnumerateUserValueDictionaries ( String asUserIDsOrScreenNames, System.Boolean bUserIDsSpecified, RequestStatistics oRequestStatistics ) : Object>>.IEnumerable
asUserIDsOrScreenNames String
bUserIDsSpecified System.Boolean
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 Object>>.IEnumerable

ExceptionToMessage() 공개 메소드

public ExceptionToMessage ( Exception oException ) : String
oException System.Exception
리턴 String

GetTwitterResponseAsString() 보호된 메소드

protected GetTwitterResponseAsString ( String sUrl, RequestStatistics oRequestStatistics ) : String
sUrl String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 String

ReportProgressForFollowedOrFollowing() 보호된 메소드

protected ReportProgressForFollowedOrFollowing ( String sScreenName, System.Boolean bFollowed ) : void
sScreenName String
bFollowed System.Boolean
리턴 void

TryGetScreenNameFromDictionary() 보호된 메소드

protected TryGetScreenNameFromDictionary ( Object>.Dictionary oUserValueDictionary, String &sScreenName ) : System.Boolean
oUserValueDictionary Object>.Dictionary
sScreenName String
리턴 System.Boolean

TryGetUserIDFromDictionary() 보호된 메소드

protected TryGetUserIDFromDictionary ( Object>.Dictionary oUserValueDictionary, String &sUserID ) : System.Boolean
oUserValueDictionary Object>.Dictionary
sUserID String
리턴 System.Boolean

TryGetUserValueDictionary() 보호된 메소드

protected TryGetUserValueDictionary ( String sScreenName, RequestStatistics oRequestStatistics, System.Boolean bIgnoreWebAndJsonExceptions, Object>.Dictionary &oUserValueDictionary ) : System.Boolean
sScreenName String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
bIgnoreWebAndJsonExceptions System.Boolean
oUserValueDictionary Object>.Dictionary
리턴 System.Boolean

TwitterNetworkAnalyzerBase() 공개 메소드

Initializes a new instance of the class.
public TwitterNetworkAnalyzerBase ( ) : System
리턴 System

프로퍼티 상세

HttpStatusCodesToFailImmediately 보호되어 있는 정적으로 프로퍼티

protected static HttpStatusCode[] HttpStatusCodesToFailImmediately
리턴 HttpStatusCode[]

m_oTwitterStatusTextParser 보호되어 있는 프로퍼티

protected TwitterStatusTextParser,Smrf.SocialNetworkLib.Twitter m_oTwitterStatusTextParser
리턴 Smrf.SocialNetworkLib.Twitter.TwitterStatusTextParser

m_oTwitterUtil 보호되어 있는 프로퍼티

protected TwitterUtil,Smrf.SocialNetworkLib.Twitter m_oTwitterUtil
리턴 Smrf.SocialNetworkLib.Twitter.TwitterUtil