C# Class ShoutLib.Shouter.Initializer

Parameters that configure Shouter.
Show file Open project: GoogleCloudPlatform/pubsub-shout-csharp

Public Properties

Property Type Description
HttpClient System.Net.Http.HttpClient
LogWriter Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter
ProjectId string
PubsubService PubsubService
Random System.Random
SubscriptionName string

Public Methods

Method Description
CreateDefault ( ) : Initializer

Method Details

CreateDefault() public static method

public static CreateDefault ( ) : Initializer
return Initializer

Property Details

HttpClient public property

An http client we use to call our own app engine code.
public HttpClient,System.Net.Http HttpClient
return System.Net.Http.HttpClient

LogWriter public property

Various status notices will be written here. May be null.
public LogWriter,Microsoft.Practices.EnterpriseLibrary.Logging LogWriter
return Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter

ProjectId public property

The project id as listed in the Google Developer Console.
public string ProjectId
return string

PubsubService public property

The PubsubService API.
public PubsubService PubsubService
return PubsubService

Random public property

A random number generator.
public Random,System Random
return System.Random

SubscriptionName public property

The name of the pubsub subscription where we pull shout request messages from.
public string SubscriptionName
return string