Property | Type | Description | |
---|---|---|---|
Distances | ServerDistance |
||
StoreDict | IStore>.Dictionary |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
GetStore ( bool waitForInitialisation ) : IStore |
Fetches the current store to use for polling.
|
|
ServerError ( string server ) : void |
Called by listener or sender when they cannot contact a server.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
FinishedInitialisation ( ) : void | ||
InitDistance ( IEnumerable |
||
MeasureDistance ( string server ) : |
||
OnDistanceInfo ( |
||
PollingProviderBase ( IEnumerable |
Initialise messaging. Must be called before any attempt to send or listen.
|
|
PollingProviderBase ( IEnumerable |
Initialise messaging. Must be called before any attempt to send or listen.
|
|
PollingProviderBase ( string hydraServer, string database = null, int port = null ) : System |
Initialise messaging. Must be called before any attempt to send or listen.
|
public GetStore ( bool waitForInitialisation ) : IStore | ||
waitForInitialisation | bool | Whether to block until the IProvider is fully initialised |
return | IStore |
protected InitDistance ( IEnumerable |
||
servers | IEnumerable |
|
return | void |
protected MeasureDistance ( string server ) : |
||
server | string | |
return |
protected OnDistanceInfo ( |
||
sdi | ||
return | void |
protected PollingProviderBase ( IEnumerable |
||
stores | IEnumerable |
Hydra stores to communicate with |
return | System |
protected PollingProviderBase ( IEnumerable |
||
hydraServers | IEnumerable |
Hydra servers to communicate with |
database | string | Name of the messaging database. Defaults to "hydra" |
port | int | Port number of the messaging database. Defaults to 5984 |
return | System |
protected PollingProviderBase ( string hydraServer, string database = null, int port = null ) : System | ||
hydraServer | string | Hydra server to communicate with |
database | string | Name of the messaging database. Defaults to "hydra" |
port | int | Port number of the messaging database. Defaults to 5984 |
return | System |
public ServerError ( string server ) : void | ||
server | string | The server that could not be contacted |
return | void |