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
Показать файл Открыть проект

Открытые методы

Метод Описание
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