C# 클래스 Smrf.NodeXL.GraphDataProviders.GraphServer.GraphServerNetworkAnalyzer

Uses the NodeXL Graph Server to get a network of people who have tweeted a specified search term.
Use GetNetworkAsync to asynchronously get the network, or GetNetwork to get it synchronously.

The network is obtained from the NodeXL Graph Server, which is a server that periodically collects tweets and user information for a small set of search terms and stores the data in a database. This class makes an HTTP call to a WCF service running on the server, and the server returns a complete graph (as GraphML) to this class.

상속: HttpNetworkAnalyzerBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 메소드들

메소드 설명
AssertValid ( ) : void
ExceptionToMessage ( Exception oException ) : String
GetNetwork ( String searchTerm, System.DateTime minimumStatusDateUtc, System.DateTime maximumStatusDateUtc, System.Boolean expandStatusUrls, String graphServerUserName, String graphServerPassword ) : XmlDocument
GetNetworkAsync ( String searchTerm, System.DateTime minimumStatusDateUtc, System.DateTime maximumStatusDateUtc, System.Boolean expandStatusUrls, String graphServerUserName, String graphServerPassword ) : void
GraphServerNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

보호된 메소드들

메소드 설명
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
GetNetworkDescription ( String sSearchTerm, System.DateTime oMinimumStatusDateUtc, System.DateTime oMaximumStatusDateUtc, String sGraphServerUserName, String sGraphServerPassword, XmlDocument oGraphMLXmlDocument ) : String
GetNetworkInternal ( String sSearchTerm, System.DateTime oMinimumStatusDateUtc, System.DateTime oMaximumStatusDateUtc, System.Boolean bExpandStatusUrls, String sGraphServerUserName, String sGraphServerPassword ) : XmlDocument
GetNetworkInternal ( String sSearchTerm, System.DateTime oMinimumStatusDateUtc, System.DateTime oMaximumStatusDateUtc, System.Boolean bExpandStatusUrls, String sGraphServerUserName, String sGraphServerPassword, RequestStatistics oRequestStatistics ) : XmlDocument
GetVertexCount ( XmlDocument oGraphMLXmlDocument ) : Int32
GetWcfServiceBinding ( ) : System.ServiceModel.BasicHttpBinding

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

BackgroundWorker_DoWork() 보호된 메소드

protected BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e System.ComponentModel.DoWorkEventArgs
리턴 void

ExceptionToMessage() 공개 메소드

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

GetNetwork() 공개 메소드

public GetNetwork ( String searchTerm, System.DateTime minimumStatusDateUtc, System.DateTime maximumStatusDateUtc, System.Boolean expandStatusUrls, String graphServerUserName, String graphServerPassword ) : XmlDocument
searchTerm String
minimumStatusDateUtc System.DateTime
maximumStatusDateUtc System.DateTime
expandStatusUrls System.Boolean
graphServerUserName String
graphServerPassword String
리턴 System.Xml.XmlDocument

GetNetworkAsync() 공개 메소드

public GetNetworkAsync ( String searchTerm, System.DateTime minimumStatusDateUtc, System.DateTime maximumStatusDateUtc, System.Boolean expandStatusUrls, String graphServerUserName, String graphServerPassword ) : void
searchTerm String
minimumStatusDateUtc System.DateTime
maximumStatusDateUtc System.DateTime
expandStatusUrls System.Boolean
graphServerUserName String
graphServerPassword String
리턴 void

GetNetworkDescription() 보호된 메소드

protected GetNetworkDescription ( String sSearchTerm, System.DateTime oMinimumStatusDateUtc, System.DateTime oMaximumStatusDateUtc, String sGraphServerUserName, String sGraphServerPassword, XmlDocument oGraphMLXmlDocument ) : String
sSearchTerm String
oMinimumStatusDateUtc System.DateTime
oMaximumStatusDateUtc System.DateTime
sGraphServerUserName String
sGraphServerPassword String
oGraphMLXmlDocument System.Xml.XmlDocument
리턴 String

GetNetworkInternal() 보호된 메소드

protected GetNetworkInternal ( String sSearchTerm, System.DateTime oMinimumStatusDateUtc, System.DateTime oMaximumStatusDateUtc, System.Boolean bExpandStatusUrls, String sGraphServerUserName, String sGraphServerPassword ) : XmlDocument
sSearchTerm String
oMinimumStatusDateUtc System.DateTime
oMaximumStatusDateUtc System.DateTime
bExpandStatusUrls System.Boolean
sGraphServerUserName String
sGraphServerPassword String
리턴 System.Xml.XmlDocument

GetNetworkInternal() 보호된 메소드

protected GetNetworkInternal ( String sSearchTerm, System.DateTime oMinimumStatusDateUtc, System.DateTime oMaximumStatusDateUtc, System.Boolean bExpandStatusUrls, String sGraphServerUserName, String sGraphServerPassword, RequestStatistics oRequestStatistics ) : XmlDocument
sSearchTerm String
oMinimumStatusDateUtc System.DateTime
oMaximumStatusDateUtc System.DateTime
bExpandStatusUrls System.Boolean
sGraphServerUserName String
sGraphServerPassword String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
리턴 System.Xml.XmlDocument

GetVertexCount() 보호된 메소드

protected GetVertexCount ( XmlDocument oGraphMLXmlDocument ) : Int32
oGraphMLXmlDocument System.Xml.XmlDocument
리턴 System.Int32

GetWcfServiceBinding() 보호된 메소드

protected GetWcfServiceBinding ( ) : System.ServiceModel.BasicHttpBinding
리턴 System.ServiceModel.BasicHttpBinding

GraphServerNetworkAnalyzer() 공개 메소드

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