Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
    }
Ejemplo n.º 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);
    }