Exemplo n.º 1
0
        public ZFingerDevice CreateZFingerDevice()
        {
            var           sessionId = NextSessionId();
            ZFingerDevice ret       = new ZFingerDevice(sessionId, SessionLayer.CreateClient(), FrameLayer.CreateClient(), TransportLayer.CreateClient(sessionId));

            return(ret);
        }
Exemplo n.º 2
0
        public ApplicationClient CreateClient()
        {
            var sessionId         = NextSessionId();
            ApplicationClient ret = new ApplicationClient(ApiType, sessionId, SessionLayer.CreateClient(), FrameLayer.CreateClient(), TransportLayer.CreateClient(sessionId));

            return(ret);
        }
Exemplo n.º 3
0
        public InstallerController CreateInstallerController()
        {
            var sessionId           = NextSessionId();
            InstallerController ret = new InstallerController(sessionId, SessionLayer.CreateClient(), FrameLayer.CreateClient(), TransportLayer.CreateClient(sessionId));

            return(ret);
        }
Exemplo n.º 4
0
        public BridgeController CreateBridgeController()
        {
            var sessionId        = NextSessionId();
            BridgeController ret = new BridgeController(sessionId, SessionLayer.CreateClient(), FrameLayer.CreateClient(), TransportLayer.CreateClient(sessionId));

            return(ret);
        }
Exemplo n.º 5
0
        public Slave CreateSlave()
        {
            var   sessionId = NextSessionId();
            Slave ret       = new Slave(sessionId, SessionLayer.CreateClient(), FrameLayer.CreateClient(), TransportLayer.CreateClient(sessionId));

            return(ret);
        }
Exemplo n.º 6
0
 public XModemDevice CreateXModem()
 {
     return(new XModemDevice(SessionLayer.CreateClient(), FrameLayer.CreateClient(), TransportLayer.CreateClient(0)));
 }
Exemplo n.º 7
0
        public TextDevice CreateTextDevice()
        {
            var        sessionId = NextSessionId();
            TextDevice ret       = new TextDevice(sessionId, SessionLayer.CreateClient(), FrameLayer.CreateClient(), TransportLayer.CreateClient(sessionId));

            return(ret);
        }