AsyncWcfLib

IActorInput.LinkInputToNetwork Method

Add a WCF service und publish Uri to WcfRouter.

void LinkInputToNetwork(
   string serviceName,
   int tcpPort,
   bool publishToRouter,
   IWcfServiceConfiguration serviceConfig
);

Parameters

serviceName
The unique name of the service or null, when this partners name is equal to the servicename.
tcpPort
The TCP port for the service or 0, when automatic port allocation will be used.
publishToRouter
True(=default): The servicename will be published to the WcfRouter on localhost.
serviceConfig
Plugin your own service configuration instead of WcfDefault.DoServiceConfiguration.

See Also

IActorInput Interface | SourceForge.AsyncWcfLib Namespace