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;
 }
Exemple #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;
 }
Exemple #3
0
    static IDisposable StartWcfHost(IEndpointInstance endpointInstance)
    {
        var wcfMapper = new WcfMapper(endpointInstance, "http://localhost:8080");

        wcfMapper.StartListening <EnumMessage, Status>();
        wcfMapper.StartListening <ObjectMessage, ReplyMessage>();
        wcfMapper.StartListening <IntMessage, int>();
        return(wcfMapper);
    }
Exemple #4
0
    static IDisposable StartWcfHost(IBus bus)
    {
        WcfMapper wcfMapper = new WcfMapper(bus, "http://localhost:8080");

        wcfMapper.StartListening <EnumMessage, Status>();
        wcfMapper.StartListening <ObjectMessage, ReplyMessage>();
        wcfMapper.StartListening <IntMessage, int>();
        return(wcfMapper);
    }