Пример #1
0
 public TransportService(JausRouter jausRouter)
 {
     pTransport_ReceiveFSM = new Transport_ReceiveFSM();
     pTransport_ReceiveFSM.setHandlers(ref ieHandler, ref jausRouter);
     pTransport_ReceiveFSM.setupNotifications();
     pTransport_SendFSM = new Transport_SendFSM();
     pTransport_SendFSM.setHandlers(ref ieHandler, ref jausRouter);
     pTransport_SendFSM.setupNotifications();
 }
Пример #2
0
 public EventsService(JausRouter jausRouter, urn_jaus_jss_core_Transport_1_1.TransportService pTransportService)
 {
     pEvents_ReceiveFSM = new Events_ReceiveFSM(pTransportService.pTransport_ReceiveFSM);
     pEvents_ReceiveFSM.setHandlers(ref ieHandler, ref jausRouter);
     pEvents_ReceiveFSM.setupNotifications();
     pEvents_SendFSM = new Events_SendFSM(pTransportService.pTransport_SendFSM);
     pEvents_SendFSM.setHandlers(ref ieHandler, ref jausRouter);
     pEvents_SendFSM.setupNotifications();
 }
Пример #3
0
 public DiscoveryClientService(JausRouter jausRouter, urn_jaus_jss_core_Transport_1_1.TransportService pTransportService)
 {
     pDiscoveryClient_ReceiveFSM = new DiscoveryClient_ReceiveFSM(pTransportService.pTransport_ReceiveFSM);
     pDiscoveryClient_ReceiveFSM.setHandlers(ref ieHandler, ref jausRouter);
     pDiscoveryClient_ReceiveFSM.setupNotifications();
     pDiscoveryClient_SendFSM = new DiscoveryClient_SendFSM(pTransportService.pTransport_SendFSM);
     pDiscoveryClient_SendFSM.setHandlers(ref ieHandler, ref jausRouter);
     pDiscoveryClient_SendFSM.setupNotifications();
 }
Пример #4
0
    public ManagementOCU(ushort subsystem, byte node, byte component)
    {
        jausRouter  = new JausRouter(new JausAddress(subsystem, node, component), ieHandler);
        serviceList = new List <Service>();

        /// Instantiate services
        urn_jts_example_management_ocu_1_0.ManagementOCUService pManagementOCUService = new urn_jts_example_management_ocu_1_0.ManagementOCUService(jausRouter);


        /// Add all the Services for the Component
        serviceList.Add(pManagementOCUService);
    }
    public AdditionServerComponent(ushort subsystem, byte node, byte component)
    {
        jausRouter  = new JausRouter(new JausAddress(subsystem, node, component), ieHandler);
        serviceList = new List <Service>();

        /// Instantiate services
        urn_jaus_example_addition_server_1_0.AdditionServerServiceDefService pAdditionServerServiceDefService = new urn_jaus_example_addition_server_1_0.AdditionServerServiceDefService(jausRouter);


        /// Add all the Services for the Component
        serviceList.Add(pAdditionServerServiceDefService);
    }
Пример #6
0
    public PingComponent(ushort subsystem, byte node, byte component)
    {
        jausRouter  = new JausRouter(new JausAddress(subsystem, node, component), ieHandler);
        serviceList = new List <Service>();

        /// Instantiate services
        urn_jts_PingServer_1_0.PingServerService pPingServerService = new urn_jts_PingServer_1_0.PingServerService(jausRouter);
        urn_jts_PingClient_1_0.PingClientService pPingClientService = new urn_jts_PingClient_1_0.PingClientService(jausRouter);


        /// Add all the Services for the Component
        serviceList.Add(pPingServerService);
        serviceList.Add(pPingClientService);
    }
Пример #7
0
    public CSharpClient(ushort subsystem, byte node, byte component, bool allowWildcards = false)
    {
        jausRouter  = new JausRouter(new JausAddress(subsystem, node, component), ieHandler, allowWildcards);
        serviceList = new List <Service>();

        /// Instantiate services
        urn_jaus_jss_core_Transport_1_1.TransportService   pTransportService       = new urn_jaus_jss_core_Transport_1_1.TransportService(jausRouter);
        urn_jts_DiscoveryClient_1_0.DiscoveryClientService pDiscoveryClientService = new urn_jts_DiscoveryClient_1_0.DiscoveryClientService(jausRouter, pTransportService);


        /// Add all the Services for the Component
        serviceList.Add(pTransportService);
        serviceList.Add(pDiscoveryClientService);
    }
Пример #8
0
    public Management(ushort subsystem, byte node, byte component)
    {
        jausRouter  = new JausRouter(new JausAddress(subsystem, node, component), ieHandler);
        serviceList = new List <Service>();

        /// Instantiate services
        urn_jaus_jss_core_Transport_1_1.TransportService         pTransportService     = new urn_jaus_jss_core_Transport_1_1.TransportService(jausRouter);
        urn_jaus_jss_core_Events_1_1.EventsService               pEventsService        = new urn_jaus_jss_core_Events_1_1.EventsService(jausRouter, pTransportService);
        urn_jaus_jss_core_AccessControl_1_1.AccessControlService pAccessControlService = new urn_jaus_jss_core_AccessControl_1_1.AccessControlService(jausRouter, pTransportService, pEventsService);
        urn_jaus_jss_core_Management_1_1.ManagementService       pManagementService    = new urn_jaus_jss_core_Management_1_1.ManagementService(jausRouter, pTransportService, pEventsService, pAccessControlService);


        /// Add all the Services for the Component
        serviceList.Add(pTransportService);
        serviceList.Add(pEventsService);
        serviceList.Add(pAccessControlService);
        serviceList.Add(pManagementService);
    }
Пример #9
0
 public PingClientService(JausRouter jausRouter)
 {
     pPingClient_PingClientFSM = new PingClient_PingClientFSM();
     pPingClient_PingClientFSM.setHandlers(ref ieHandler, ref jausRouter);
     pPingClient_PingClientFSM.setupNotifications();
 }
Пример #10
0
 public ManagementOCUService(JausRouter jausRouter)
 {
     pManagementOCU_ManagementOcuFSM = new ManagementOCU_ManagementOcuFSM();
     pManagementOCU_ManagementOcuFSM.setHandlers(ref ieHandler, ref jausRouter);
     pManagementOCU_ManagementOcuFSM.setupNotifications();
 }
 public AdditionServerServiceDefService(JausRouter jausRouter)
 {
     pAdditionServerServiceDef_additionServerFSM = new AdditionServerServiceDef_additionServerFSM();
     pAdditionServerServiceDef_additionServerFSM.setHandlers(ref ieHandler, ref jausRouter);
     pAdditionServerServiceDef_additionServerFSM.setupNotifications();
 }