public ServiceManager(MessageInformer informer, params Uri[] serviceUrl) { this.informer = informer; this.serviceUrl = serviceUrl; //Coding Dojo 3 Task.Factory.StartNew(StartMqReading); }
public LogicHandler(MessageInformer frontEndInformer) { this.frontEndInformer = frontEndInformer; //used to inform the FrontEnd about the update Uri[] urls = new Uri[2]; urls[0] = new Uri("http://localhost:8080/AgentService/"); urls[1] = new Uri("net.tcp://localhost:8090/CoreService/"); sManager = new ServiceManager(new MessageInformer(NewMessageReceived), urls); sManager.Start(); }
public AgentAdapterHandler() { //service for connection to core components client = new MessageTransmissionServiceClient("TcpMessageTransmissionService"); //select TCP Service connection client.TransmitMessageCompleted += client_TransmitMessageCompleted; //async call //Provide Services for Agents MessageInformer inf = new MessageInformer(NewMessageReceived); ServiceManager sm = new ServiceManager(inf); sm.Start(); }
public LogicHandler(MessageInformer frontEndInformer) { this.frontEndInformer = frontEndInformer; //used to inform the FrontEnd about the update /* * Uri[] urls = new Uri[2]; * urls[0] = new Uri("http://*****:*****@".\private$\DoJo3"); //StartReceiving(); Task.Factory.StartNew(StartReceiving); }
public ServiceManager(MessageInformer informer, params Uri[] serviceUrl) { this.informer = informer; this.serviceUrl = serviceUrl; }
public ServiceManager(MessageInformer informer) { this.informer = informer; }