GetNewClient
method in Coherence.Core.Core
Methods
public static IClient GetNewClient(IDefinition root, Logger logger, HashSet<Entity> activeEntities = null, TransportType transportType = TransportType.UDPWithTCPFallback, TransportConfiguration transportConfiguration = TransportConfiguration.Default)
Parameters
| Type | Name | Description |
|---|---|---|
| IDefinition | root | |
| Logger | logger | |
| HashSet<Entity> | activeEntities | |
| TransportType | transportType | |
| TransportConfiguration | transportConfiguration |
Returns
| Type | Description |
|---|---|
| IClient |
public static IClient GetNewClient(IDefinition root, Logger logger, HashSet<Entity> activeEntities = null, ITransportFactory transportFactory = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IDefinition | root | |
| Logger | logger | |
| HashSet<Entity> | activeEntities | |
| ITransportFactory | transportFactory |
Returns
| Type | Description |
|---|---|
| IClient |