Beispiel #1
0
 static IDisposable StartWcfHost(IBusSession busSession)
 {
     WcfMapper wcfMapper = new WcfMapper(busSession, "http://localhost:8080");
     wcfMapper.StartListening<EnumMessage, Status>();
     wcfMapper.StartListening<ObjectMessage, ReplyMessage>();
     wcfMapper.StartListening<IntMessage, int>();
     return wcfMapper;
 }
Beispiel #2
0
 static IDisposable StartWcfHost(IEndpointInstance endpointInstance)
 {
     WcfMapper wcfMapper = new WcfMapper(endpointInstance, "http://localhost:8080");
     wcfMapper.StartListening<EnumMessage, Status>();
     wcfMapper.StartListening<ObjectMessage, ReplyMessage>();
     wcfMapper.StartListening<IntMessage, int>();
     return wcfMapper;
 }